美文网首页
iOS 部分圆角

iOS 部分圆角

作者: L小杰 | 来源:发表于2016-12-12 16:01 被阅读17次
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