One of my project uses the Apple's Reachability class in order to be monitor the network state and be notified in case of changes.
After reading this article about supporting IPv6 I was wondering if were to be made to this class to make it work with IPv6.
I set up an IPv6 network following the same article and everything seems to work fine but maybe there is an issue with the setup.
Is the part of the Reachability class checking the Internet connection working with IPv6 as it is now or does it need some changes?
I also have similar doubt regarding IPv6 and Reachability class. Apple has asked in their docs to provide support for IPv6 types also like
(struct in_addr6, AF_INET6, struct sockaddr_in6 etc)
but the class seem to be not updated yet to have these types. This is the doubt that I am having. I am yet to try IPv6 tests but just observed while doing the static code checks. Some changes might be required.Reachability.m
Short answer from Apple itself (https://developer.apple.com/videos/play/wwdc2015/719/ at ~10:30 - though I would recommend to watch the video in full - or at least look through at the key points here: http://www.internetsociety.org/deploy360/blog/2015/06/video-of-apple-wwdc-session-about-ipv6-and-ios-9-now-available-and-some-screenshots/):
Just Try The Connection.
A copy paste from https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW25 which reiterates this: