Monday, October 12, 2015

iOS Work arounds with the ATS in Xcode 7 & iOS 9.0

In iOS 9.0, ATS enforces best practices during network calls, including the use of HTTPS. 

If we want to avoid the ATS enforcement, by manually adding a plist entry, it is possible 


This above is mainly useful if App is trying to connect to some arbitrary sites for e.g. WebBrowser

If app is trying to connect to certain known domains that doesnt for time being support TSL 1.2, 
below can be used. 

NSExceptionDomains
<!— include to allow subdomains
<!— include to allow HTTP requests
<!— Include to specify minimum TLS version 

References:

No comments:

Post a Comment