iOS 部分圆角

2016-12-12  本文已影响17人  L小杰
maskLayer.path = [UIBezierPath bezierPathWithRoundedRect:rectBounds byRoundingCorners: UIRectCornerTopLeft | UIRectCornerBottomLeft cornerRadii: (CGSize){10.0f, 10.0f}].CGPath;
 _image.layer.mask = maskLayer;
上一篇下一篇

猜你喜欢

热点阅读