[iOS10]xcode 8 開發(fā)ios10 應(yīng)用程序 crash 權(quán)限

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

XCode8希望我們?cè)陂_發(fā)iOS10應(yīng)用程序時(shí),能夠提供給用戶更多的權(quán)限通知信息

其中涉及到得關(guān)鍵字有

  • <key>NSCameraUsageDescription</key>
  • <key>NSContactsUsageDescription</key>
  • <key>NSMicrophoneUsageDescription</key>
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容