我想做一个圆角的view,做了如下定义
UIView *myView = [[UIView alloc] initwithFrame:rect];
myView.layer.cornerRadius = 7;
但此处提示我property 'cornerRadius' not found on object of type "CALayer *"
UIView *myView = [[UIView alloc] initwithFrame:rect];
myView.layer.cornerRadius = 7;
但此处提示我property 'cornerRadius' not found on object of type "CALayer *"
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货