SDWebImage从3.7迁移到4.2.2相关报错

- (void)clearDisk;
改成
- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion;

typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize);
改成
typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL);

你可能感兴趣的:(SDWebImage从3.7迁移到4.2.2相关报错)