http请求连接
1、在Info.plist中添加NSAppTransportSecurity類型Dictionary。
2、在NSAppTransportSecurity下添加NSAllowsArbitraryLoads類型Boolean,值設為YES
2、在NSAppTransportSecurity下添加NSAllowsArbitraryLoads類型Boolean,值設為YES
轉載于:https://www.cnblogs.com/liuting-1204/p/5919233.html
總結
- 上一篇: shell脚本学习(一):shell脚本
- 下一篇: linqtoxml读写xml