美文网首页
圆角的设置

圆角的设置

作者: 无所待 | 来源:发表于2016-11-17 17:27 被阅读0次

    // 圆角  userhead.layer.masksToBounds = YES;  userhead.layer.cornerRadius = 6.0;  userhead.layer.borderWidth = 1.0;  userhead.layer.borderColor = [[UIColor whiteColor] CGColor];  userhead可以是一个UIImageView,也可以是UIView对了,记得#import没有这个库的麻烦在framework里面导入

    相关文章

      网友评论

          本文标题:圆角的设置

          本文链接:https://www.haomeiwen.com/subject/ikikpttx.html