1. 在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary ;
2. 然后添加 NSAllowsArbitraryLoads 类型Boolean ,值设为 YES;
App Transport Security has blocked a cleartext HTTP (http://) resource load 的解决方法
最新推荐文章于 2020-11-04 14:47:43 发布
本文介绍如何在Info.plist文件中配置NSAppTransportSecurity字典及设置NSAllowsArbitraryLoads布尔值为YES。
756

被折叠的 条评论
为什么被折叠?



