macOS Sierra 中的 App Transport Security (ATS) 是否允许例外?

Exceptions allowed with App Transport Security (ATS) in macOS Sierra?

所以在 WWDC 2016 上,ATS 被宣布为 强制性 自 2017 年 1 月起。At least for iOS.

查找有关更改内容的文档一直很棘手(但我想我可以搜索一些 WWDC 视频以找到提到此内容的一两张幻灯片)。

macOS Sierra 应用程序是否允许 NSExceptionDomains 例外?或者我的应用程序会在没有服务器干预的情况下从 1 月起神奇地停止工作吗?

更改是关于 App Review 允许进入 Mac/iOS App Store 的内容(没有“合理”理由)。这不是 OS 本身的行为更改,现有应用程序将继续工作。

First up, there have been no changes to the technical behaviour of ATS (other than the addition of NSAllowsArbitraryLoadsInWebContent and NSRequiresCertificateTransparency). From a technical perspective, ATS exceptions in the newly seeded OS releases work the same way as they do in the current OS release.

What has changed is that App Review will require “reasonable justification” for most ATS exceptions. The goal here is to flush out those folks who, when ATS was first released, simply turned it off globally and moved on. That will no longer be allowed.

来源:Post from Apple Developer Relations / Developer Technical Support