//圆角
if (isRounded) {
imageView.layer.cornerRadius = 20.0;
imageView.layer.masksToBounds = YES;
}
//圆角边框
if(isBorder){
imageView.layer.borderWidth = 3;
imageView.layer.borderColor= [[UIColor whiteColor] CGColor];
}
IOS圆角+圆角边框
最新推荐文章于 2021-12-15 14:40:34 发布