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。
网友评论