Solution :
It appears as if the iOS 9.0.2 is breaking requests to valid HTTPS endpoints. My current thought is that it is needing SHA-256 certs or it fails with above error.
To reproduce, just inspect the UIWebView with safari, and try to navigate to the arbitrary HTTPS endpoint as shown below :
location.href = "https://d37gvrvc0wt4s1.cloudfront.net/js/v1.4/rollbar.min.js"// [Error] Failed to load resource: An SSL error has occurred and a secure connection to the server cannot be made. (rollbar.min.js, line 0)
Now try to go to google as of course they have the SHA-256 cert:
location.href = "https://google.com"// no problemo
So adding the exception to transport the security will work to fix this. I also think that completely disabling the NSAppTransportSecurity
would also work , though I have also read that by completely disabling it can jeopardize the app review.
[ have found that by simply enumerating your domains I am trying to connect to your NSExceptionDomains
dict it fixes your problem, even when by leaving NSExceptionAllowsInsecureHTTPLoads
set to true.
I hope this helps you in resolving your issue.