IOS 解决HTTP使用问题
2017-07-18 本文已影响0人
向前Hell
1.在Info.plist中添加NSAppTransportSecurity类型Dictionary。

2.在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES


完成!
1.在Info.plist中添加NSAppTransportSecurity类型Dictionary。
2.在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES
完成!