iOS有关相机,通信录,麦克风的适配,需要在plist文件中添加相应的描述,选中plist文件,右键Open as ——>Source code 然后添加如下代码
相机权限描述:
<key>NSCameraUsageDescription</key>
<string>cameraDesciption</string>
通信录:
<key>NSContactsUsageDescription</key>
<string>contactsDesciption</string>
麦克风:
<key>NSMicrophoneUsageDescription</key>
<string>microphoneDesciption</string>
相机:
<key>NSPhotoLibraryUsageDescription</key>
<string>photoLibraryDesciption</string>