From d6874ff060d974076615656e69266d46b659bdee Mon Sep 17 00:00:00 2001 From: Vjy Anand Date: Sun, 6 Jul 2014 06:40:06 -0400 Subject: [PATCH] Update MKAnnotationView+WebCache.m Replace deprecated method call --- SDWebImage/MKAnnotationView+WebCache.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/MKAnnotationView+WebCache.m b/SDWebImage/MKAnnotationView+WebCache.m index 240f5af76..cc75da000 100644 --- a/SDWebImage/MKAnnotationView+WebCache.m +++ b/SDWebImage/MKAnnotationView+WebCache.m @@ -39,7 +39,7 @@ - (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder } - (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;