其实就是把下载的图片裁切成圆形图片,然后再设置 imageView.image ,为了避免每次都需要裁切图片的操作,对已经裁切成圆形的图片进行缓存,方便快速读取.
github地址 : https://github.com/ZhaoBingDong/CYRoundImageView
![](https://i-blog.csdnimg.cn/blog_migrate/e12271755e7c3655753eeadc0f9746b4.webp?x-image-process=image/format,png)
其实就是把下载的图片裁切成圆形图片,然后再设置 imageView.image ,为了避免每次都需要裁切图片的操作,对已经裁切成圆形的图片进行缓存,方便快速读取.
github地址 : https://github.com/ZhaoBingDong/CYRoundImageView