App Transport Security and IP addresses in iOS9

前端 未结 4 662
走了就别回头了
走了就别回头了 2020-11-30 00:02

I develop my iOS app using a local server running on my dev box. When testing on devices, I connect directly via an IP address, which is over HTTP and not HTTPS (so I don\'t

4条回答
  •  孤城傲影
    2020-11-30 00:29

    Hard-coded IP address wont work in iOS9. I also faced the same issue. Tried all permutations & combinations of available solutions. Finally, had to use a proper domain name.

    So, NO.In iOS9 you just can't get away with hard-coded IP addresses.

提交回复
热议问题