为了账号安全,请及时绑定邮箱和手机立即绑定

http的问题

2018-05-09 20:58:02.762529+0800 Weather[2620:96104] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

2018-05-09 20:58:02.762867+0800 Weather[2620:96104] Cannot start load of Task <D6DFE9BC-6B4B-49AF-8ECD-9DEF1709C4A0>.<1> since it does not conform to ATS policy

2018-05-09 20:58:02.763240+0800 Weather[2620:96105] Task <D6DFE9BC-6B4B-49AF-8ECD-9DEF1709C4A0>.<1> finished with error - code: -1022

Error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.


我在info.plist里面设置了Allow Arbitray Loads,还是报错


正在回答

1 回答

https://www.cnblogs.com/36bian/p/5237138.html   Allow Arbitrary Loads 拼写不对吧

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Swift Weather APP
  • 参与学习       35566    人
  • 解答问题       241    个

本课程将带领大家使用Swift语言开发一个完整的天气 iOS APP

进入课程

http的问题

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信