From 351e76b2b90ee5c3c6d90b584abf0894e9ec9a62 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 9 Mar 2021 14:33:00 +0800 Subject: [PATCH] Update the demo to remove the usage of `SDWebImageRefreshCached` --- Examples/SDWebImage Demo/MasterViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/SDWebImage Demo/MasterViewController.m b/Examples/SDWebImage Demo/MasterViewController.m index e781257a..eea3f634 100644 --- a/Examples/SDWebImage Demo/MasterViewController.m +++ b/Examples/SDWebImage Demo/MasterViewController.m @@ -113,7 +113,7 @@ __weak SDAnimatedImageView *imageView = cell.customImageView; [imageView sd_setImageWithURL:[NSURL URLWithString:self.objects[indexPath.row]] placeholderImage:placeholderImage - options:indexPath.row == 0 ? SDWebImageRefreshCached : 0 + options:0 context:@{SDWebImageContextImageThumbnailPixelSize : @(CGSizeMake(180, 120))} progress:nil completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {