/**设置圆角*/
[view.layer setMasksToBounds:YES];
[view.layer setCornerRadius:6];
view.layer.maskedCorners = (CACornerMask)(UIRectCornerTopRight|UIRectCornerBottomLeft);
image.png
/**设置圆角*/
[view.layer setMasksToBounds:YES];
[view.layer setCornerRadius:6];
view.layer.maskedCorners = (CACornerMask)(UIRectCornerTopRight|UIRectCornerBottomLeft);
image.png
本文标题:UI部分圆角
本文链接:https://www.haomeiwen.com/subject/vhorortx.html
网友评论