UIWebview without Cache

前端 未结 4 844
旧巷少年郎
旧巷少年郎 2020-12-05 05:04

I want to load a webview without cache?

//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Request Object
NSURLRequest *requestObj =         


        
4条回答
  •  臣服心动
    2020-12-05 05:47

    I try to answer a similar question here. I hope it was useful for you! The last solution works for HTML but not for images, css and js linked in html.

    How to clear UIWebView cache?

提交回复
热议问题