清除UIWebView的缓存

2020-12-13 15:29

阅读:442

标签:class   blog   http   for   res   div   

?//清除cookies
    NSHTTPCookie *cookie;
    NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
    for (cookie in [storage cookies])
    {
        [storage deleteCookie:cookie];
    }
 
    //清除UIWebView的缓存
    [[NSURLCache sharedURLCache] removeAllCachedResponses];?

清除UIWebView的缓存,搜素材,soscw.com

清除UIWebView的缓存

标签:class   blog   http   for   res   div   

原文地址:http://www.cnblogs.com/jz319/p/3796117.html


评论


亲,登录后才可以留言!