应用程序因连接到 IPv6 网络而被拒绝,以确保它可以启动而不会崩溃 [英] App rejected due to connected to an IPv6 network to ensure it will launch without crashing
问题描述
我的应用被评论者有争议地拒绝了.他们给了我以下原因.
My app is contentiously rejected by reviewers.They gives me below reason.
请修改您的应用,并在连接到 IPv6 网络(所有应用必须支持 IPv6)的设备上对其进行测试,以确保其启动时不会崩溃.
我使用了objective-c,我使用的api 是在php 中.我还使用了 NSURLSession
和 NSURLConnection
来调用 API.
I've used objective-c and the api which I used is in php. Also I have used NSURLSession
and NSURLConnection
for calling the API's.
我没有使用 AFnetworking
.过去两天我做了很多 RND.谁能建议我如何解决这个问题?
I'm not using AFnetworking
.I have done lots of RNDs from last two days.
Can anyone suggest me how can I solve this issue?
推荐答案
如果您使用的是旧的 Rechability
类,那么将其替换为最新的,因为 Apple 的旧 Rechability
类是不兼容 ipv6
仅网络.您可以从 此处获取最新的 Rechability
类.我不确定这是否只是问题,但在许多情况下,由于旧的 rechabilty class
发现了 ipv6 问题.
If you are using old Rechability
class then replace it with latest one because apple's old Rechability
class is not compatible with ipv6
only network. You can get latest Rechability
class from here. I am not sure that this is only issue but in many cases ipv6 issue found because of old rechabilty class
.
你应该参考这个苹果文档 还有!
这篇关于应用程序因连接到 IPv6 网络而被拒绝,以确保它可以启动而不会崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!