UIImageView 圆角
UIImageView *image = [[UIImageView alloc]init];
image.layer.cornerRadius = 10.0;//如果想变圆形,设置这个值为宽度的一半
image.layer.masksToBounds = YES;
UIImageView *image = [[UIImageView alloc]init];
image.layer.cornerRadius = 10.0;//如果想变圆形,设置这个值为宽度的一半
image.layer.masksToBounds = YES;