appTransportSecurityRequiresSecureConnection
App Transport Security disallowed a connection because there is no secure network connection.
Declaration
static var appTransportSecurityRequiresSecureConnection: URLError.Code { get }Discussion
Starting in iOS 9.0 and macOS v10.11, App Transport Security (ATS) is enabled by default for connections created by URLSession. ATS requires the use of best practice secure protocols in HTTPS. For more information on ATS, see NSAppTransportSecurity in Information Property List Key Reference.