1.使用xib
在User Defined Runtime Attributes点击+
Key Path Type Value
layercorderRadius Nsbumber 5
2.使用代码
//1.设置边框颜色
_view.layer.borderColor= [UIColorlightGrayColor].CGColor;
//2.设置边框的宽度
_view.layer.borderWidth=2;
在User Defined Runtime Attributes点击+
Key Path Type Value
layercorderRadius Nsbumber 5
//1.设置边框颜色
_view.layer.borderColor= [UIColorlightGrayColor].CGColor;
//2.设置边框的宽度
_view.layer.borderWidth=2;
Copyright © 2019- zicool.com 版权所有 湘ICP备2023022495号-2
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务