在这里记录下载info.plist中配置访问权限,供以后查找
- 定位相关权限配置
Key Type value NSLocationAlwaysUsageDescriptionstring 允许此权限才能使用定位功能 NSLocationWhenInUseUsageDescriptionstring 允许此权限才能使用定位功能 NSLocationWhenInUseUsageDescriptionstring 允许此权限才能使用定位功能 - 相册相关权限配置
Key Type value NSPhotoLibraryAddUsageDescriptionstring 允许此权限才能使用添加照片功能 NSPhotoLibraryUsageDescriptionstring 允许此权限才能使用相册功能 - 相机相关权限配置
Key Type value NSCameraUsageDescriptionstring 允许此权限才能使相机功能 - 蓝牙权限配置
Key Type value NSBluetoothPeripheralUsageDescriptionstring 请求访问蓝牙 NSBluetoothAlwaysUsageDescriptionstring 请求访问蓝牙
注意:iOS13已经将NSBluetoothPeripheralUsageDescription废弃,所以在plist文件中应该加入NSBluetoothAlwaysUsageDescription,但你的app仍要支持iOS13之前的版本需要保留NSBluetoothPeripheralUsageDescription
Documentation
- 通讯录权限配置
Key Type value NSContactsUsageDescriptionstring 允许此权限才能使用通讯录功能 - 麦克风权限配置
Key Type value NSMicrophoneUsageDescriptionstring 允许此权限才能使用麦克风功能 - 日历权限配置
Key Type value NSCalendarsUsageDescriptionstring 允许此权限才能使用日历功能 - 语音转文字权限配置
Key Type value NSSpeechRecognitionUsageDescriptionstring 允许语音转文字权限 - Siri使用权限配置
Key Type value NSSiriUsageDescriptionstring 允许Siri权限 - 访问媒体库权限配置
Key Type value NSAppleMusicUsageDescriptionstring 允许媒体库权限 - FaceId权限配置
Key Type value NSFaceIDUsageDescriptionstring 允许使用FaceId的权限 - 提醒使用权限配置
Key Type value NSRemindersUsageDescriptionstring 请求访问注意事项

Documentation









网友评论