iOS10苹果对隐私权限的管理更加严格了,我们需要打开info.plist文件添加相应权限的说明,否则程序在iOS10上会出现崩溃,后面的描述也一定要写上。
崩溃:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.
Privacy - Bluetooth Peripheral Usage Description 蓝牙权限
Privacy - Calendars Usage Description 日历权限
Privacy - Camera Usage Description 照相机
Privacy - Contacts Usage Description 联系人
Privacy - Health Share Usage Description 健康数据分享
Privacy - Health Update Usage Description 健康数据更新
Privacy - HomeKit Usage Description 智能家具
Privacy - Location Always Usage Description 一直开启定位
Privacy - Location Usage Description 位置
Privacy - Location When In Use Usage Description 需要时开启定位
Privacy - Media Library Usage Description 播放音乐或者视频
Privacy - Microphone Usage Description 麦克风
Privacy - Motion Usage Description 运动传感器
Privacy - Music Usage Description 音乐
Privacy - Photo Library Usage Description 相册
Privacy - Reminders Usage Description 备忘录
Privacy - Siri Usage Description Siri
Privacy - Speech Recognition Usage Description 语音识别
Privacy - TV Provider Usage Description 电视提供商
Privacy - Video Subscriber Account Usage Description 视频订阅