iOS9http不能正常使用的解决办法

1.在Info.plist中添加NSAppTransportSecurity类型Dictionary。

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

文章不错,你都不请我喝杯茶,就是说你呀!