I was leak-testing my current project and I\'m stumped. I\'ve been browsing like crazy and tried everything except chicken sacrifice. I just created a tiny toy project app f
Try:
- (void)webViewDidFinishLoad:(UIWebView *)webView {
[[NSUserDefaults standardUserDefaults] setInteger:0 forKey:@"WebKitCacheModelPreferenceKey"];
}
From http://blog.techno-barje.fr/post/2010/10/04/UIWebView-secrets-part1-memory-leaks-on-xmlhttprequest
Forgot about this question.
The leak is not present in 4.1. I would assume the same for 4.2.