uiiamgeview 设置圆角

    doctorCell.headImageView.layer.masksToBounds = YES;《据说,没有这个 他 圆不起来》

    doctorCell.headImageView.layer.cornerRadius = 5;

原文地址:https://www.cnblogs.com/guligei/p/3152228.html