-
iOS9 HTTP访问不了的解决方法
1.在Info.plist中添加
NSAppTransportSecurity
类型Dictionary
。2.在
NSAppTransportSecurity
下添加NSAllowsArbitraryLoads
类型Boolean
,值设为YES
iOS9 HTTP访问不了的解决方法
最新推荐文章于 2021-06-15 11:43:41 发布
iOS9 HTTP访问不了的解决方法
1.在Info.plist中添加NSAppTransportSecurity
类型Dictionary
。
2.在NSAppTransportSecurity
下添加NSAllowsArbitraryLoads
类型Boolean
,值设为YES