如何将ipv4地址转换为ipv6使用AFNetworking? [英] How to convert ipv4 address to ipv6 use AFNetworking?

查看:309
本文介绍了如何将ipv4地址转换为ipv6使用AFNetworking?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了 IPV6 的问题。

Apple拒绝我的应用但出错:


我们在连接到IPv6网络的Wi-Fi上运行iOS 10.0.2的iPad和iPhone上查看了应用中的一个或多个错误。

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 来连接服务器。请帮我解决一下?感谢您的支持!

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

推荐答案

我在一个月前收到此错误,然后更新了 AFNetworking 上传版本和Apple的可达性类,我的问题解决了,你可以试试这个,我希望它能运作。

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.

这篇关于如何将ipv4地址转换为ipv6使用AFNetworking?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆