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