得到圆形 imageView
- (void) setCircleImageView{ self.layer.cornerRadius = self.frame.size.width / 2; self.layer.masksToBounds = YES;}
本文共 188 字,大约阅读时间需要 1 分钟。
得到圆形 imageView
- (void) setCircleImageView{ self.layer.cornerRadius = self.frame.size.width / 2; self.layer.masksToBounds = YES;}
转载于:https://my.oschina.net/changzhongwei/blog/628906