美文网首页
iOS10 相机相册等权限的使用、检测并引导用户开启权限

iOS10 相机相册等权限的使用、检测并引导用户开启权限

作者: 这小子 | 来源:发表于2017-08-30 16:58 被阅读19次


<key>App Transport Security Settings</key>
<dictionary></dictionary>
<key>Allow Arbitrary Loads</key>
<bool> YES </bool>

<key>NSPhotoLibraryUsageDescription</key>
<string>App需要您的同意,才能访问相册</string>

<key>NSCameraUsageDescription</key>
<string>App需要您的同意,才能访问相机</string>

<key>NSMicrophoneUsageDescription</key>
<string>App需要您的同意,才能访问麦克风</string>

<key>NSLocationUsageDescription</key>
<string>App需要您的同意,才能访问位置</string>

<key>NSLocationWhenInUseUsageDescription</key>
<string>App需要您的同意,才能在使用期间访问位置</string>

<key>NSLocationAlwaysUsageDescription</key>
<string>App需要您的同意,才能始终访问位置</string>

<key>NSCalendarsUsageDescription</key>
<string>App需要您的同意,才能访问日历</string>

<key>NSRemindersUsageDescription</key>
<string>App需要您的同意,才能访问提醒事项</string>

<key>NSMotionUsageDescription</key> <string>App需要您的同意,才能访问运动与健身</string>

<key>NSHealthUpdateUsageDescription</key>
<string>App需要您的同意,才能访问健康更新 </string>

<key>NSHealthShareUsageDescription</key>
<string>App需要您的同意,才能访问健康分享</string>

<key>NSBluetoothPeripheralUsageDescription</key>
<string>App需要您的同意,才能访问蓝牙</string>

<key>NSAppleMusicUsageDescription</key> <string>App需要您的同意,才能访问媒体资料库</string>

相关文章

网友评论

      本文标题:iOS10 相机相册等权限的使用、检测并引导用户开启权限

      本文链接:https://www.haomeiwen.com/subject/cykxjxtx.html