`

IOS圆角+圆角边框

    博客分类:
  • IOS
 
阅读更多
//圆角
if (isRounded) {
        imageView.layer.cornerRadius = 20.0;
        imageView.layer.masksToBounds = YES;  
    }
    //圆角边框
    if(isBorder){
        imageView.layer.borderWidth  = 3;  
        imageView.layer.borderColor= [[UIColor whiteColor] CGColor];
    }
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics