在这段代码中,UIWebView
加载失败,我看到了这个:
Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0x1c0e36e0 {NSErrorFailingURLKey=http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html#xpc=sf-gdn-exp-3&p=http%3A//blog.moneysmart.sg, NSErrorFailingURLStringKey=http://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html#xpc=sf-gdn-exp-3&p=http%3A//blog.moneysmart.sg}
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
{}
我可以知道错误代码 -999 是什么吗?
最佳答案
其实就是在上一个请求完成之前,又发起了一个请求。
关于ios - Webview didFailLoadWithError 错误代码 -999,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30024244/