你如何从 JS 重新加载 UIWebView 页面?
How do you reload a UIWebView page from JS?
当我执行 document.location.reload(true)
时,我得到
2015-01-18 17:18:43.642 MyApp[2344:681208] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
只需使用location.reload(true)
当我执行 document.location.reload(true)
时,我得到
2015-01-18 17:18:43.642 MyApp[2344:681208] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
只需使用location.reload(true)