阅读背景:

iOS 裁剪View指定的角裁剪

来源:互联网 

在开发中碰到view的左上角和右上角需要裁剪,具体实现方法如下:

UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.bgView.bounds byRoundingCorners:UIRectCornerTopRight | UIRectCornerTopLeft cornerRadii:CGSizeMake(UIBezier



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: