App Transport Security策略要求使用安全连接 [英] App Transport Security policy requires the use of a secure connection
本文介绍了App Transport Security策略要求使用安全连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我添加了NsAppTransportSecurity
作为字典,并添加了键NsAllowArbitaryLoads
,确切地说是每个人的说法,但是它对我不起作用.
我对项目进行了彻底的重建,但是仍然出现相同的错误.
I added the NsAppTransportSecurity
as dictionary and added the key NsAllowArbitaryLoads
exactly how everybody said but it does not work for me.
I made a clean rebuild of the project, but I still the same error.
推荐答案
应该这样做
NSAppTransportSecurity<-类型字典 NSAllowsArbitraryLoads<-类型布尔值是
NSAppTransportSecurity <- Type Dictionary NSAllowsArbitraryLoads <- Type Boolean Value YES
这篇关于App Transport Security策略要求使用安全连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文