What to do about an NSURLErrorDomain -999? [duplicate]

余生长醉 提交于 2019-11-29 14:31:33

问题


Possible Duplicate:
How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS

I have an iphone app, built with Jqtouch and phonega,p framework successfully made and submitted to the appstore several times. Then I updated to the new phonegap1.0.0, and then started getting errors related to something called webview. Eventually was advised to create new xcode project and import the old www folder into it. There are now no more errors but the app gets stuck in a loop with the error NSURLErrorDomain error -999. The app loads then starts flashing wildly between screens and the debugger repeats endlessly:

2011-08-31 16:55:13.520 MyIphoneApp[16657:207] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)


回答1:


That error number corresponds to NSURLErrorCancelled and means that the asynchronous load of the resource was cancelled.

Source Foundation Constants Reference at developer.apple.com



来源:https://stackoverflow.com/questions/7259899/what-to-do-about-an-nsurlerrordomain-999

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!