如何使用支持IPv6的UIWebView?
How to use UIWebView that supports IPv6?
我有一个使用 UIWebView
显示内容的应用程序。 Apple 拒绝该应用程序,因为它不支持 IPv6 网络。你知道如何解决这个问题吗?我必须导入一些库或做其他事情吗?
URL我用的不是IP地址,而是域名,例如:
如果您的应用程序的目标是 iOS8 以上,请尝试使用 WebKit 而不是 UIWebView。
请参阅以下内容 link,其中阐明了下面的文字:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIWebView_Class/
注:"In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWebView. Additionally, consider setting the WKPreferences property javaScriptEnabled to false if you render files that are not supposed to run JavaScript."
你的 UIWebView
不是拒绝的原因,原因是你的 link 或者你的服务器不支持 IPV6,首先测试你的 link 是否支持苹果从这个 link 你可以做 it ,如果你没有通过这个测试搜索如何配置你的服务器以支持 IPV6,我希望我能帮助你
我有一个使用 UIWebView
显示内容的应用程序。 Apple 拒绝该应用程序,因为它不支持 IPv6 网络。你知道如何解决这个问题吗?我必须导入一些库或做其他事情吗?
URL我用的不是IP地址,而是域名,例如:
如果您的应用程序的目标是 iOS8 以上,请尝试使用 WebKit 而不是 UIWebView。
请参阅以下内容 link,其中阐明了下面的文字:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIWebView_Class/
注:"In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWebView. Additionally, consider setting the WKPreferences property javaScriptEnabled to false if you render files that are not supposed to run JavaScript."
你的 UIWebView
不是拒绝的原因,原因是你的 link 或者你的服务器不支持 IPV6,首先测试你的 link 是否支持苹果从这个 link 你可以做 it ,如果你没有通过这个测试搜索如何配置你的服务器以支持 IPV6,我希望我能帮助你