http请求报错:
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中设置

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中设置
本文标题:[问]iOS开发--http请求报错
本文链接:https://www.haomeiwen.com/subject/ahfwkttx.html
网友评论