iOS开发>允许HTTP请求
1.首先打开项目的info.plist
2.在右侧增加增加Key为 App Transport Security Settings,Type为 Dictionary
在下级增加Key为 Allow Arbitrary Loads,Type为 Boolean,Value为 YES
License:
CC BY 4.0
1.首先打开项目的info.plist
2.在右侧增加增加Key为 App Transport Security Settings,Type为 Dictionary
在下级增加Key为 Allow Arbitrary Loads,Type为 Boolean,Value为 YES