UILabel *label = [UILabelnew];
label.layer.cornerRadius =10;
label.clipsToBounds = YES;//这个属性需要设置,否则会没有效果,如果是UIButton,本属性不用设置
UILabel *label = [UILabelnew];
label.layer.cornerRadius =10;
label.clipsToBounds = YES;//这个属性需要设置,否则会没有效果,如果是UIButton,本属性不用设置

被折叠的 条评论
为什么被折叠?
