iOS点滴

iOS9 修改Https为Http,正常网络请求

2015-12-10  本文已影响240人  朱晓晓的技术博客
  1. 在Info.plist中添加NSAppTransportSecurity类型Dictionary。
  2. 在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES
Paste_Image.png
上一篇 下一篇

猜你喜欢

热点阅读