美文网首页
iOS设置http allow

iOS设置http allow

作者: pokeey | 来源:发表于2018-07-16 17:15 被阅读0次

虽然可以,还是尽快使用https吧,今年底就快到期了

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

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

相关文章

网友评论

      本文标题:iOS设置http allow

      本文链接:https://www.haomeiwen.com/subject/ssibpftx.html