From the documentation:
To lookup the cache, you use the queryDiskCacheForKey:done: method. If
the method returns nil, it means the cache doesn't currently own the
image. You are thus responsible for generating and caching it. The
cache key is an application unique identifier for the image to cache.
It is generally the absolute URL of the image.
SDImageCache *imageCache = [[SDImageCache alloc] initWithNamespace:@"myNamespace"];
[imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage *image)
{
// image is not nil if image was found
}];
UPDATE
You can get the path to your image like this:
NSString *myImgKey;//this is the key for the image you want the path for
[[SDImageCache sharedImageCache] defaultCachePathForKey:myImgKey];
in case you do not use the default location, you can use:
- (NSString *)cachePathForKey:(NSString *)key inPath:(NSString *)path;
This function returns the path for a certain key, but you will have to pass it your cache's root folder.