i have an app that loads pdf file from server in UIWebView
when i change the pdf file from the server it does't changes in the app, i tried all this methods
[[NSURLCache sharedURLCache] removeCachedResponseForRequest:request];
[[NSURLCache sharedURLCache] removeAllCachedResponses];
for(NSHTTPCookie *cookie in [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies]) {
if([[cookie domain] isEqualToString:MyURLString]) {
[[NSHTTPCookieStorage sharedHTTPCookieStorage] deleteCookie:cookie];
}
}
still the new pdf file doesn't change , sometimes it take some time to change and sometimes it don't
is there any other methods ?