1、设置圆角
_iconImageV.layer.cornerRadius = _iconImageV.width/2;
_iconImageV.layer.masksToBounds = YES;
2、图片加载不变形
_img_cover.contentMode = UIViewContentModeScaleAspectFill;
_img_cover.clipsToBounds = YES;
1、设置圆角
_iconImageV.layer.cornerRadius = _iconImageV.width/2;
_iconImageV.layer.masksToBounds = YES;
2、图片加载不变形
_img_cover.contentMode = UIViewContentModeScaleAspectFill;
_img_cover.clipsToBounds = YES;