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
然后运行项目就OK啦~