如何使用 AFNetworking 将 ipv4 地址转换为 ipv6?

How to convert ipv4 address to ipv6 use AFNetworking?

我对 IPV6 有疑问。

Apple 拒绝我的应用程序并出现错误:

We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.2 on Wi-Fi connected to an IPv6 network.

Specifically, your app stayed static at the launch screen and there was no further content loaded.

We've attached screenshot(s) for your reference.

但是我的服务器不支持IPV6。我使用库 AFNetworking 连接服务器。请帮我一些解决方案?感谢大家的支持!

我一个月前遇到这个错误,然后我更新了 AFNetworking 到最新版本和 Apple 的 Reachability class 也,我的问题解决了,你可以试试这个,我希望它会工作的。

请看这个link:

Supporting IPv6 DNS64/NAT64 Networks

这可能会有所帮助: Transitioning to IPv6-only networks

它涵盖了您描述的主题。