Xcode 7.0, also known as iOS9.0, requires the HTTPS protocol to be used for networks that require in-app access. Then our company does not use HTTPS how to do? If a network request is found to be unsuccessful, the Xcode background error message is: The resource could not being loaded because the APP Transport Security policy requires the use of a Secure connection. (It probably means that resource data cannot be downloaded because the app transport security policy requires a secure connection).
Workaround:
Add the Nsapptransportsecurity type dictionary in Info.plist. Add Nsallowsarbitraryloads type Boolean under Nsapptransportsecurity with the value set to Yes
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
Find Info.plist, note not the test file inside the plist Oh. See GIF diagram for operation.
Ios9https setting Info.plist