ATS blocks https://www.apple.com/

If ATS is enabled, UIWebView can't access to https://www.apple.com/ .

description = Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made."

Is this correct behavior ?

Answered by Max108 in 13944022

Someone else noticed the same thing and opened a radar (21337673),

See: https://forums.developer.apple.com/message/11677#11677


But iOS 9 and OSX 10.11 require TLSv1.2 SSL for all hosts you plan to request data from. If it's 1.1 or lower, you need to specify exception domains in your app's Info.plist file.


For futher info on how to do that:

https://forums.developer.apple.com/message/7383#7383

https://forums.developer.apple.com/message/9055#9055

https://forums.developer.apple.com/message/5857%235857

Accepted Answer

Someone else noticed the same thing and opened a radar (21337673),

See: https://forums.developer.apple.com/message/11677#11677


But iOS 9 and OSX 10.11 require TLSv1.2 SSL for all hosts you plan to request data from. If it's 1.1 or lower, you need to specify exception domains in your app's Info.plist file.


For futher info on how to do that:

https://forums.developer.apple.com/message/7383#7383

https://forums.developer.apple.com/message/9055#9055

https://forums.developer.apple.com/message/5857%235857

ATS blocks https://www.apple.com/
 
 
Q