1.SDWebImage
已经升级到4.0.0
2.SDWebImage
支持WebP
格式
作者官方说明:
Subspecs
There are 4 subspecs available now: Core, MapKit, GIF and WebP (this means you can install only some of the SDWebImage modules. By default, you get just Core, so if you need WebP, you need to specify it).
Podfile example:
pod 'SDWebImage/WebP'
SDWebImage
本身就支持webp
格式的图片。默认pod
是SDWebImage/Core
文件,webp
需要pod 'SDWebImage/WebP'