如何定义一个只有上边圆角的UIButton
UIView *view2 = [[UIView alloc] initWithFrame:CGRectMake(120, 10, 80, 80)];
view2.backgroundColor = [UIColor redColor];
[self.view addSubview:view2];
UIBezierPath *maskPath = [UIBezierPath bezierPath...
转载
2016-10-24 09:39:40 ·
628 阅读 ·
0 评论