标签:
//清除cookies NSHTTPCookie *cookie; NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; for (cookie in [storage cookies]) { [storage deleteCookie:cookie]; }
UIWebView清除缓存:
//清除UIWebView的缓存 [[NSURLCachesharedURLCache] removeAllCachedResponses];
标签:
原文地址:http://www.cnblogs.com/Keys/p/4647687.html