Fix demo app regarding last changes
This commit is contained in:
parent
9546c84f94
commit
6e99059007
|
@ -37,7 +37,7 @@
|
|||
[self.imageView addSubview:activityIndicator = [UIActivityIndicatorView.alloc initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]];
|
||||
activityIndicator.center = self.imageView.center;
|
||||
[activityIndicator startAnimating];
|
||||
[self.imageView setImageWithURL:self.imageURL placeholderImage:nil options:SDWebImageProgressiveDownload completed:^(UIImage *image, NSError *error, BOOL fromCache)
|
||||
[self.imageView setImageWithURL:self.imageURL placeholderImage:nil options:SDWebImageProgressiveDownload completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType)
|
||||
{
|
||||
[activityIndicator removeFromSuperview];
|
||||
}];
|
||||
|
|
Loading…
Reference in New Issue