给View以及继承自UIView的添加边框效果

view.layer.borderColor = [SVGloble colorFromHexRGB:@"dcdcdc"].CGColor;

view.layer.borderWidth = 1;



添加一像素的边框效果


猜你喜欢

转载自blog.csdn.net/KLong27/article/details/70911343