苹果目前只能请求HTTPS,我们可以加入如下代码:<key>NSAppTransportSecurity</key><dict> <!--Connect to anything (this is probably BAD)--> <key>NSAllowsArbitraryLoads</key> <true/></dict>
IOS请求HTTP方法
最新推荐文章于 2024-04-27 16:09:59 发布
苹果目前只能请求HTTPS,我们可以加入如下代码:<key>NSAppTransportSecurity</key><dict> <!--Connect to anything (this is probably BAD)--> <key>NSAllowsArbitraryLoads</key> <true/></dict>