iOS xCode 配置允许HTTP请求

在info.plist里面增加:

App Transport Security Settings 属性

再在此属性内增加 Allow Arbitrary Loads ,并设置值为YES

posted on 2019-08-15 11:07  xiaofei01gm  阅读(2948)  评论(0编辑  收藏  举报