1 Reply
      Latest reply: Jan 24, 2017 1:54 AM by eskimo RSS
      wayvlab Level 1 Level 1 (0 points)

        Good morning to everybody.

        I'm wondering to know if any of you knows if the use of Data(contentsOf) is compliant with ipv6.

        I had my app rejected because of issues during test on ipv6 network and this is the only place where i access the network with a different method than "URLSession".

        Thanks,

        G.

        • Re: Data(contentsOf) and ipv6
          eskimo Apple Staff Apple Staff (6,270 points)

          I'm wondering to know if any of you knows if the use of Data(contentsOf:) is compliant with ipv6.

          In this context Data calls NSData which calls NSURLConnection, which should work just fine on an IPv6-only network.  However, rather than guess you should test this, per FAQ #1 in my Supporting IPv6-only Networks pinned post.

          You should also read the other FAQs in that post, and specifically the post linked to by FAQ #6.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"