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
精彩评论