pp Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. 原因及解决方法
1.原因是xcode的安全协议不支持http只支持https的安全模式
2.解决方法 在工程文件的info.plist右击——>open as ——> source code 在<dict>下面添加
<key>NSAppTransportSecurity</key>
<dict>