maskLayer.path = [UIBezierPath bezierPathWithRoundedRect:rectBounds byRoundingCorners: UIRectCornerTopLeft | UIRectCornerBottomLeft cornerRadii: (CGSize){10.0f, 10.0f}].CGPath;
_image.layer.mask = maskLayer;
maskLayer.path = [UIBezierPath bezierPathWithRoundedRect:rectBounds byRoundingCorners: UIRectCornerTopLeft | UIRectCornerBottomLeft cornerRadii: (CGSize){10.0f, 10.0f}].CGPath;
_image.layer.mask = maskLayer;
本文标题:iOS 部分圆角
本文链接:https://www.haomeiwen.com/subject/ovimmttx.html
网友评论