(转)webView清除缓存

 NSURLCache * cache = [NSURLCache sharedURLCache];
 [cache removeAllCachedResponses];
 [cache setDiskCapacity:0];
 [cache setMemoryCapacity:0];
原文地址:https://www.cnblogs.com/code-changeworld/p/4771110.html