使用xcode7进行http请求

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/CrazyDuang/article/details/49786613
1.在Iofo.plist中添加NSAppTransportSecurity类型的Dictionary
2.在NSAppTransportSecurity下添加NSAllowsArbitraryLoads,类型为Boolean,类型为YES

猜你喜欢

转载自blog.csdn.net/CrazyDuang/article/details/49786613