慕粉4060693
2018-05-09 21:05
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,还是报错
https://www.cnblogs.com/36bian/p/5237138.html Allow Arbitrary Loads 拼写不对吧
Swift Weather APP
35555 学习 · 241 问题