xcode设置允许HTTP请求

2024-11-22 21:29:05

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

xcode设置允许HTTP请求

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

xcode设置允许HTTP请求

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

xcode设置允许HTTP请求
猜你喜欢