Xcode - Swift - Transport Security application blocked HTTP plaintext error (http: //)

I have been trying to solve this problem for a long time, and I hope that someone has a solution that I have not seen yet.

I am using Xcode 7 and testing my application on iPad (ios 9 beta). I tried adding the code below to each instance of Info.plist and it does not work.

    <key>NSAppTransportSecurity</key>
    <dict>
           <key>NSAllowsArbitraryLoads</key>
    <true/>
    </dict>

I tried to reduce the deployment target to 8.4. I tried to restart both my laptop on which I am developing and the iPad.

I just don’t know what else to do. Thank.

+4
source share
1 answer

, <dict>. , this.

+1

All Articles