iOS info.plist 中的一些设置

http 网络请求

1.打开plist文件

2.添加选  App Transport Security Settings   这是一个数组(此时没有元素)。

3.再往该数组中添加一个   Allow Arbitrary Loads  元素,同时设为 YES

完成以上3步骤,就设置完成http 请求。

 

允许使用相机

1.Privacy - Camera Usage Description

2.导入AVFoundation类

 

允许使用相册

1.Privacy - Photo Library Usage Description

 

允许使用麦克风

1.Privacy - Microphone Usage Description

 

posted @ 2019-05-10 16:24  卖身的小男孩  阅读(346)  评论(0)    收藏  举报