Fix demo app regarding last changes

This commit is contained in:
Olivier Poitrey 2012-11-19 16:58:45 +01:00
parent 9546c84f94
commit 6e99059007
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}];