iOS 10 Xcode 8 权限设置问题
2017-02-21 本文已影响139人
Moon_yueyue
Xcode8 iOS10 中权限适配 ,如果不在plist文件中添加权限程序会闪退
记录下来,以便于日后查找
<key>NSPhotoLibraryUsageDescription</key>
<key>NSCameraUsageDescription</key>
<key>NSMicrophoneUsageDescription</key>
<key>NSLocationUsageDescription</key>
<key>NSLocationWhenInUseUsageDescription</key>
<key>NSLocationAlwaysUsageDescription</key>
<key>NSCalendarsUsageDescription</key>
<key>NSRemindersUsageDescription</key>
<key>NSMotionUsageDescription</key>
<key>NSHealthUpdateUsageDescription</key>
<key>NSHealthShareUsageDescription</key>
<key>NSBluetoothPeripheralUsageDescription</key>
<key>NSAppleMusicUsageDescription</key>