设置圆角代码

//设置图片框为圆角
    ImgView.layer.cornerRadius = 7;
    ImgView.layer.masksToBounds = YES;

//设置图片框为圆角
    ImgView.layer.cornerRadius = 7;
    ImgView.layer.masksToBounds = YES;

//设置图片框为圆角
    ImgView.layer.cornerRadius = 7;
    ImgView.layer.masksToBounds = YES;

posted on 2015-11-28 23:23  ZMIOS  阅读(261)  评论(0编辑  收藏  举报