I\'m using SDWebImage to asynchronous image downloader with cache support.
It\'s working perfectly except that sometimes the image got updated on the server with same na
#import "SDImageCache.h"
....
[[SDImageCache sharedImageCache] removeImageForKey:@"http://domain.com/image.jpg" fromDisk:YES];
- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk;
API is right. It work for me.
Do you know the api is in class SDImageCache which is a singleton class.
You could use it like this:
[[SDImageCache sharedImageCache] removeImageForKey:image_url fromDisk:YES];