In iOS 7, I was able to set a shared URL cache in a subclass of NSURLCache , and any UIWebView I created would automatically use that shared cache for each request.
// Set the URL cache and leave it set permanently ExampleURLCache *cache = [[ExampleURLCache alloc] init]; [NSURLCache setSharedURLCache:cache];
However, now in iOS 8 it does not look like UIWebView is pulling out of the shared cache, and cachedResponseForRequest never called.
Has anyone found documentation for this change or workaround?
source share