大佬教程收集整理的这篇文章主要介绍了ipad – 什么原因错误NSNetServicesErrorCode =“ – 72000”?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
Error Dict: { NSNetservicesErrorCode = "-72000"; NSNetservicesErrorDomain = 10; }
之后,uiwebview无法加载源文件,当我在(void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)错误中记录错误时,它显示以下消息:
Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo=0x53d610 {NSErrorFailingURLStringKey=http://localhost:9898/local/a.html?83C66B33-874C-41A7-BBF5-78D1615512DF,NSErrorFailingURLKey=http://localhost:9898/local/a.html?83C66B33-874C-41A7-BBF5-78D1615512DF,NSLocalizedDescription=Could not connect to the server.,NSUnderlyingError=0x5ccaa0 "Could not connect to the server."}
应用程序没有崩溃,但旋转指示器永远不会停止.
有人能告诉我这个案子的原因是什么?以及如何解决它?
谢谢 :)
typedef NS_ENUM(NSInteger,NSNetservicesError) { /* An unkNown error occured during resolution or publication. */ NSNetservicesUnkNownError = -72000L,/* An NSNetservice with the same domain,type and name was already present when the publication request was made. */ NSNetservicesCollisionError = -72001L,/* The NSNetservice was not found when a resolution request was made. */ NSNetservicesnotFoundError = -72002L,/* A publication or resolution request was sent to an NSNetservice instance which was already published or a search request was made of an NSNetserviceBrowser instance which was already searching. */ NSNetservicesActivityInProgress = -72003L,/* An required argument was not provided when initializing the NSNetservice instance. */ NSNetservicesBadArgumentError = -72004L,/* The operation being performed by the NSNetservice or NSNetserviceBrowser instance was cancelled. */ NSNetservicesCancelledError = -72005L,/* An invalid argument was provided when initializing the NSNetservice instance or starTing a search with an NSNetserviceBrowser instance. */ NSNetservicesInvalidError = -72006L,/* Resolution of an NSNetservice instance Failed because the timeout was reached. */ NSNetservicesTimeoutError = -72007L,};
以上是大佬教程为你收集整理的ipad – 什么原因错误NSNetServicesErrorCode =“ – 72000”?全部内容,希望文章能够帮你解决ipad – 什么原因错误NSNetServicesErrorCode =“ – 72000”?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。