How do I get cached image stored by AFNetworking's UIImageView category?
问题 I'm using following category UIImageView+AFNetworking.h from AFNetworking in my app, its working fine, its caching photos for me and loads images smoothly. At one point, I want to get an image which is already there in my cache. So I dig up into above category class where I found following code, which I think – can be helpful. Here's the snippet from it: @implementation AFImageCache - (UIImage *)cachedImageForRequest:(NSURLRequest *)request { switch ([request cachePolicy]) { case