- (void)clearDisk;
改成
- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion;
typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize);
改成
typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL);