Xcode7 使用NSURLSession发送HTTP请求报错[转]

控制台打印:Application 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.

NSAppTransportSecurity.

NSAllowsArbitraryLoads

 

解决办法:修改info.plist文件

 
posted @ 2015-10-08 18:50  墨VS雪  阅读(168)  评论(0编辑  收藏  举报