Tutorial by Examples

Apple introduced ATS with iOS 9 as a new security feature to improve privacy and security between apps and web services. ATS by default fails all non HTTPS requests. While this can be really nice for production environments, it can be a nuisance during testing. ATS is configured in the target's Inf...
Similar to enabling all HTTP content, all configuration happens under the App Transport Security Settings. Add the Exception Domains dictionary (NSExceptionDomains) to the top level ATS settings. For every domain, add a dictionary item to the Exception Domains, where the key is the domain in questi...
Introduced in iOS 9, all endpoints must adhere to the HTTPS specification. Any endpoints not using SSL will fail with a warning in the console log. To your application it will appear that the internet connection failed. To configure exceptions: Place the following in your Info.plist file: Allow...

Page 1 of 1