* 在Info.plist中加入以下内容:
<key>NSPhotoLibraryUsageDescription</key>
<string>需要照片权限</string>
<key>NSCameraUsageDescription</key>
<string>需要相机权限</string>
<key>NSMicrophoneUsageDescription</key>
<string>需要麦克风权限</string>
* 在Info.plist中加入以下内容:
<key>NSPhotoLibraryUsageDescription</key>
<string>需要照片权限</string>
<key>NSCameraUsageDescription</key>
<string>需要相机权限</string>
<key>NSMicrophoneUsageDescription</key>
<string>需要麦克风权限</string>
本文标题:iOS10 部分权限获取 - iOS
本文链接:https://www.haomeiwen.com/subject/lzgkzttx.html
网友评论