JSMessageExample
JSMessageExample copied to clipboard
Not working on ios 9?
Using xcode 7.0, this project works fine in the simulator for ios 8.1 (iPad 2), but after the splash screen it gets stuck with a white screen for the simulator for ios 9.0 (iPad 2), and for a physical iPad Mini 2 running ios 9.0.1. Any idea where to start looking? Thanks, Ian.
App Transport Security prevents loading non-HTTPS resources. I'm looking into how to disable that for this project or serve it over HTTPS.
Excellent, yes as a quick fix, you can disable App Transport Security, and get everything up and running again, by adding the following to the Info.plist
<key>NSAppTransportSecurity</key>
<dict>
<!--Include to allow all connections (DANGER)-->
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
as described at http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/
But this is not recommended practice.