iOS [App Transport Security has
2017-05-18 本文已影响30人
Bager
Error: App 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
解决方法:
iOS9因为强制使用了https协议,所以需要在info文件中添加如下字段:
NSAppTransportSecurity
NSAllowsArbitraryLoads
设置为YES。