Update the demo to remove the usage of `SDWebImageRefreshCached`
This commit is contained in:
parent
ee1115f0bb
commit
351e76b2b9
|
@ -113,7 +113,7 @@
|
||||||
__weak SDAnimatedImageView *imageView = cell.customImageView;
|
__weak SDAnimatedImageView *imageView = cell.customImageView;
|
||||||
[imageView sd_setImageWithURL:[NSURL URLWithString:self.objects[indexPath.row]]
|
[imageView sd_setImageWithURL:[NSURL URLWithString:self.objects[indexPath.row]]
|
||||||
placeholderImage:placeholderImage
|
placeholderImage:placeholderImage
|
||||||
options:indexPath.row == 0 ? SDWebImageRefreshCached : 0
|
options:0
|
||||||
context:@{SDWebImageContextImageThumbnailPixelSize : @(CGSizeMake(180, 120))}
|
context:@{SDWebImageContextImageThumbnailPixelSize : @(CGSizeMake(180, 120))}
|
||||||
progress:nil
|
progress:nil
|
||||||
completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
||||||
|
|
Loading…
Reference in New Issue