1.调用单例SDWebImageManager.sharedManager的如下方法直接下载图片,使用该方法的话,completedBlock里面有下载到的图片UIImage:

- (id)downloadImageWithURL:(NSURL*)url

options:(SDWebImageOptions)options

progress:(SDWebImageDownloaderProgressBlock)progressBlock

completed:(SDWebImageCompletionWithFinishedBlock)completedBlock;

2.调用单例SDWebImageManager.sharedManager的如下方法,判断本地缓存里有没有下载到该图片,当然该对象还有其他方法也可以判断:

- (BOOL)diskImageExistsForURL:(NSURL*)url;