本打算做一个新工程, 但是改来改去就是网络请求不成功,失败原因如下。
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.
解决方法:
1,服务器改为https
2,客户端
在info.plist 加入key
时间: 2024-10-12 09:03:41