错误:
Application 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.
解决方法:
手动在 ”项目名-Info.plist“第一个<dict>标签下添加下面标签
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
时间: 2024-12-19 13:53:32