【问题标题】:Webview didFailLoadWithError error code -999Webview didFailLoadWithError 错误代码-999
【发布时间】:2015-05-04 06:57:21
【问题描述】:

在这段代码中,UIWebView 加载失败,我看到了这个:

Error Domain=NSURLErrorDomain Code=-999 "操作无法完成。(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


【解决方案1】:

其实就是在上一个请求完成之前,又进行了一次请求。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-01-13
    • 1970-01-01
    • 2013-04-11
    • 2021-10-24
    • 2015-11-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多