设置边框
UIView *bgView = [[UIView alloc] init]; bgView.backgroundColor = [UIColor whiteColor]; self.bgView = bgView; bgView.layer.borderColor = Color_E8E8E8.CGColor; bgView.layer.borderWidth = Line_side_heihgt;