Update MKAnnotationView+WebCache.m

Replace deprecated method call
This commit is contained in:
Vjy Anand 2014-07-06 06:40:06 -04:00
parent 2e708d3518
commit 99590ed6ec
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ static char imageURLKey;
}
- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {
[self cancelCurrentImageLoad];
[self sd_cancelCurrentImageLoad];
objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
self.image = placeholder;