- 时间:2022-04-07 04:48 编辑: 来源: 阅读:
- 扫一扫,手机访问
摘要:IOS10.11 无法访问http的问题解决办法
[b]IOS10.11 无法访问http的问题解[/b]
Xcode Version 7.3.1 (7D1014)
IOS9 之后更新了htpps的访问限制,网上很多文章说 往plist 文件中添加
NSAppTransportSecurity的字典
NSAppTransportSecurity
往上面字典中添加
NSallowsArbitaryLoads Boolean YES
NSAllowsArbitraryLoads
但是实际上操作添加了也没用。困惑了半天。
最后发现,现在的版本,按照以下操作是可以的。
添加NSAppTransportSecurity的字典
会自动变成 AppTransportSecurity
再添加 allow Arbitary Loads Boolean YES
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!