在xcode 6.4 环境下写的demo 在xode7 环境下 网络请求有问题

NSAppTransportSecurity(NSDictionary)
在这个字段下添加一个BOOL类型的元素
NSAllowsArbitraryLoads(BOOL)
并且设置Value,为YES

原文地址:https://www.cnblogs.com/LiRenee/p/5011103.html