SDWebImage从3.7迁移到4.2.2相关报错
2017-12-27 本文已影响0人
ioido
- (void)clearDisk;
改成
- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion;
typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize);
改成
typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL);