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

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
  • 参与学习       35556    人
  • 解答问题       241    个

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

进入课程

http的问题

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号