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 視頻訂閱