NSURLErrorAppTransportSecurityRequiresSecureConnection
App Transport Security disallowed a connection because there is no secure network connection.
Declaration
var NSURLErrorAppTransportSecurityRequiresSecureConnection: Int { 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.
See Also
URL Errors
NSURLErrorBackgroundSessionInUseByAnotherProcessNSURLErrorBackgroundSessionRequiresSharedContainerNSURLErrorBackgroundSessionWasDisconnectedNSURLErrorBadServerResponseNSURLErrorBadURLNSURLErrorCallIsActiveNSURLErrorCancelledNSURLErrorCannotCloseFileNSURLErrorCannotConnectToHostNSURLErrorCannotCreateFileNSURLErrorCannotDecodeContentDataNSURLErrorCannotDecodeRawDataNSURLErrorCannotFindHostNSURLErrorCannotLoadFromNetworkNSURLErrorCannotMoveFile