xcode7下应用访问网络请求报如下错误:
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.
网友提供的回答完美的解决了我的问题
1.打开 proName-info.plist文件,在根目录下添加NSAppTransportSecurity,类型为Dictionary
2.在NSAppTransportSecurity下添加NSAllowsArbitraryLoads,类型为Boolean,值设置为YES
![](https://i-blog.csdnimg.cn/blog_migrate/b4a3c0360da5a897c09e1082bc804516.png)
然后运行项目就OK啦~