view添加边框

bgView.layer.borderWidth = 1; // 边框宽度

bgView.layer.borderColor = [[UIColor lightGrayColor] CGColor]; //边框颜色

© 2017. All rights reserved.

Powered by Hydejack v7.5.0