About ATS SSL in iOS 9 release version

前端 未结 3 1864
自闭症患者
自闭症患者 2021-01-27 11:32

My apps use http, and doesn\'t update for iOS9 yet. Today I upgraded to iOS9 on my iPad, all my apps are still working using http. It seems Apple doesn\'t force https in iOS9 re

3条回答
  •  心在旅途
    2021-01-27 12:25

    ATS is enabled on apps that are built on Xcode 7 but not on apps that are built with an earlier version of Xcode. This is to prevent hundreds of thousands of apps from 'breaking' on iOS 9.

    If you rebuild your app using Xcode 7, ATS will be enabled for your app and you will either need to change your back end to use HTTPS or add exceptions into info.plist.

    So essentially, ATS is 'forced' for new/updated apps (or you need to explicitly partially or entirely disable it) but not for old apps.

提交回复
热议问题