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.
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.
报错提示
错误原因
Xcode7.1之后新特性要求App内访问网络请求,要采用 HTTPS 协议。
解决方法
在Info.plist中添加 App Transport Security Setting 类型 Dictionary ;