(转)webView清除缓存

 NSURLCache * cache = [NSURLCache sharedURLCache];
 [cache removeAllCachedResponses];
 [cache setDiskCapacity:0];
 [cache setMemoryCapacity:0];

 

posted @ 2015-08-30 16:28  孤光一点莹  阅读(282)  评论(0编辑  收藏  举报