xcode设置允许HTTP请求

 时间:2024-11-22 21:29:05

1、打开工程之后找到项目文件下的info.plist文件

xcode设置允许HTTP请求

2、点击information Property List右侧的加号,然后点击.

xcode设置允许HTTP请求

3、上一步之后选择App Transport Security Settings添加,类型是Dictionary.

xcode设置允许HTTP请求

4、点击App Transport Security Settings展开,然后点击右侧的加号.

xcode设置允许HTTP请求

5、添加Allow Arbitrary Loads属性,类型是Boolean,默认是NO

xcode设置允许HTTP请求

6、点击右侧的箭头选择YES即可完成设置,也可以直接双击编辑填写YES

xcode设置允许HTTP请求
  • mac 安装免费的matlab
  • macbook air怎么打开caj文档
  • Mac系统,如何绘制函数图像?
  • 如何让访达默认打开应用程序
  • 热门搜索
    专长怎么写 离职原因怎么写 大姨妈来了怎么办 february怎么读 怎么投诉快递 迈克菲怎么卸载 光明膳纤饮效果怎么样 谷歌账号怎么注册 赵子龙怎么死的 死在哪 哦怎么组词