I have a Phonegap App where I need at some point to remove the html cache because I have updated the images in my app.
I have tried this :
[[NSURLCache sharedURLCache] removeAllCachedResponses];
[[NSURLCache sharedURLCache] setDiskCapacity:0];
[[NSURLCache sharedURLCache] setMemoryCapacity:0];
Called in a plugin via javascript, the i do :
location.reload( true )
But I still see the same image that seems to be cached.
Is there another way of doing this ? I can tell the user to quit the app and kill it and relaunch it after.
Thanks !!