I'm using aUIWebView
to load a url with go back feature.
For example, "Url1 = www.google.com."
If I clicked any inter link like Images, Videos then those page will be displayed. Again if I pressed google.com then it will load google page.
Now my UIWebView
cached urls are like, google, images, videos.
What I want is, I want to clear my cache when loads the url1 again. It shouldn't have any back to go.
Can anyone suggest me how to achieve this?
I've tried to remove the cache using this,
[[NSURLCache sharedURLCache] removeAllCachedResponses];
But It's not working.