// let request = URLRequest.init(url: NSURL.init(string: webUrl)! as URL)
解决方法:
let request = URLRequest.init(url: NSURL.init(string: webUrl)! as URL, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 5)
// let request = URLRequest.init(url: NSURL.init(string: webUrl)! as URL)
解决方法:
let request = URLRequest.init(url: NSURL.init(string: webUrl)! as URL, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 5)
本文标题:iOS webView 缓存问题
本文链接:https://www.haomeiwen.com/subject/jvtexqtx.html
网友评论