虽然我跟着App Transport Security Technote和Configuring App Transport Security Exceptions in iOS 9 and OSX 10.11但我仍然在iOS 9中收到此错误错误:应用传输安全已阻止明文http资源加载,因为它不安全
答案 0 :(得分:3)
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
只需将此代码粘贴到plist中
即可