蘋果提供的隱私權(quán)限設(shè)置
開發(fā)中如果不設(shè)置會(huì)導(dǎo)致應(yīng)用Crash
右擊Info.plist文件 》Open As 》Source Code 打開復(fù)制以下你在應(yīng)用中使用的隱私權(quán)限設(shè)置(描述自己修改)
<key>NSVideoSubscriberAccountUsageDescription</key>
<string></string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>藍(lán)牙權(quán)限</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>語(yǔ)音識(shí)別權(quán)限</string>
<key>NSSiriUsageDescription</key>
<string>Siri權(quán)限</string>
<key>NSRemindersUsageDescription</key>
<string></string>
<key>NSPhotoLibraryUsageDescription</key>
<string>相冊(cè)權(quán)限</string>
<key>kTCCServiceMediaLibrary</key>
<string></string>
<key>NSMotionUsageDescription</key>
<string>運(yùn)動(dòng)權(quán)限</string>
<key>NSMicrophoneUsageDescription</key>
<string>麥克風(fēng)權(quán)限</string>
<key>NSAppleMusicUsageDescription</key>
<string>音樂權(quán)限</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>地理位置權(quán)限</string>
<key>NSLocationUsageDescription</key>
<string>地理位置權(quán)限</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>地理位置權(quán)限</string>
<key>NSHomeKitUsageDescription</key>
<string></string>
<key>NSHealthUpdateUsageDescription</key>
<string>健康權(quán)限</string>
<key>NSHealthShareUsageDescription</key>
<string>健康權(quán)限</string>
<key>NSContactsUsageDescription</key>
<string>通訊錄權(quán)限</string>
<key>NSCameraUsageDescription</key>
<string>攝像頭權(quán)限</string>
<key>NSCalendarsUsageDescription</key>
<string>日歷權(quán)限</string>