How to convert ipv4 address to ipv6 use AFNetworking?

亡梦爱人 提交于 2019-12-18 05:25:44

问题


I've a problem with IPV6.

Apple reject my app with error:

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.

But my sever is not supporting IPV6. I use library AFNetworking to connect server. Please help me some solution? Thank you for any support!


回答1:


I got this error a month ago, then I updated AFNetworking to last version and Apple's Reachability class too, my problem solved, you can try this, I hope it'll work.




回答2:


Please see this link:

Supporting IPv6 DNS64/NAT64 Networks

This may be helpful: Transitioning to IPv6-only networks

It covers the topic you described.



来源:https://stackoverflow.com/questions/39826837/how-to-convert-ipv4-address-to-ipv6-use-afnetworking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!