3.UIImageView+category

  1. 得到圆形 imageView

- (void) setCircleImageView
{
    self.layer.cornerRadius = self.frame.size.width / 2;
    self.layer.masksToBounds = YES;
}


你可能感兴趣的:(3.UIImageView+category)