- (void)awakeFromNib { //UIView->CALayer 下边两个要一起设置 self.appImageView.layer.cornerRadius = 10; self.appImageView.layer.masksToBounds = YES; // self.appImageView.clipsToBounds = YES;//view中的切割 }
- (void)awakeFromNib { //UIView->CALayer 下边两个要一起设置 self.appImageView.layer.cornerRadius = 10; self.appImageView.layer.masksToBounds = YES; // self.appImageView.clipsToBounds = YES;//view中的切割 }