swift URLCache after IOS 12 update

273 Views Asked by At

I extended URLCache to implement offline browsing of a web site in IOS app using UIWebView. Before IOS 12 every thing was working fine. cachedResponse, getCachedResponse, storeCachedResponse and storeCachedResponse are called as intended, but after IOS 12 update only cachedResponse and getCachedResponse are called, so no caching is done now. I tried to change the cachePolicy property but nothing happened. Is there something new in URLCache.

0

There are 0 best solutions below