I’m hosting UIWebView in my app. it looks like UIWebView caches images and data itself.
I want to clear its cache on app startup.
Cleaning up Safari’s cache doesn’t help. the only way I found to flush UIWebView‘s cache is to power off my iPhone and turn it again. Closing the app doesn’t help either.
Apple documentation says nothing about it…or I’m missing something. Just in case, app is created with monotouch.
If you want to obliterate all cached responses, something like this looks like the way to go: