ats
App Transport Security (ATS)
Overview
App Transport Security (ATS) means the App must connect to server with HTTPS connections. In the past, we can add an ATS key in the plist to ignore this requirement. However, ATS is required for all apps as of JAN 2017.
Exception
You can add the following ATS keys in the plist, but must provide justifications to explain why you need it.
NSAllowsArbitraryLoads (available >= iOS 9)
NSAllowsArbitraryLoadsForMedia (available >= iOS 10)
NSAllowsArbitraryLoadsInWebContent (available >= iOS 10)
NSExceptionAllowsInsecureHTTPLoads (available >= iOS 10)
NSExceptionMinimumTLSVersion (available >= iOS 10)
if NSAllowsArbitraryLoadsForMedia or NSAllowsArbitraryLoadsInWebContent is provided, NSAllowsArbitraryLoads will be ignored. NSAllowsArbitraryLoadsForMedia - if YES, disables all ATS restrictions for media loaded using APIs from the AV Foundation framework
Diagnose ATS Connection Issues
use nscurl
to check if the URL is ATS enabled
examples:
References
Last updated
Was this helpful?