开发者

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

This question already has answers here: 开发者_JAVA技巧 Closed 10 years ago.

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.)


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜