遇到 NSURLErrorDomain -999 该怎么办?
我有一个iPhone应用程序,使用Jqtouch和phonega,p框架构建,成功制作并多次提交到应用程序商店。然后我更新到新的phonegap1.0.0,然后开始收到与名为 webview 的内容相关的错误。最终建议创建新的 xcode 项目并将旧的 www 文件夹导入其中。现在不再有错误,但应用程序陷入循环并出现错误 NSURLErrorDomain 错误 -999。 应用程序加载然后开始在屏幕之间疯狂闪烁,并且调试器无休止地重复:
2011-08-31 16:55:13.520 MyIphoneApp[16657:207] 无法加载网页并出现错误:操作无法完成。 (NSURLErrorDomain错误-999。)
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.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该错误号对应于
NSURLErrorCancelled
并表示资源的异步加载已被取消。来源 基础常量参考 在developer.apple.com
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