uiwebview 清缓存。,mark

//清除cookies
NSHTTPCookie *cookie;
NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
for (cookie in [storage cookies])
{
[storage deleteCookie:cookie];
}
uiwebview 清缓存。,mark

UIWebView清除缓存:

//清除UIWebView的缓存
[[NSURLCachesharedURLCache] removeAllCachedResponses];
上一篇:linux中memset的正确用法


下一篇:Java中形式为“ for(A b:c)”的for循环