zoukankan      html  css  js  c++  java
  • iOS----------The app's Info.plist must contain an NSPhotoLibraryUsageDescription key

    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.

    意思是说:你需要在info.plist文件 添加一个“NSContactsUsageDescription ”的Key,Value添加一个描述。

     将下面的代码加入到info.plist里面

      <key>NSCameraUsageDescription</key>

        <string>cameraDesciption</string>

        <key>NSContactsUsageDescription</key>

        <string>contactsDesciption</string>

        <key>NSMicrophoneUsageDescription</key>

        <string>microphoneDesciption</string>

        <key>NSPhotoLibraryUsageDescription</key>

        <string>photoLibraryDesciption</string>

  • 相关阅读:
    bodybuilding
    DBLINK的session无法关闭,报异常!
    失控
    eclipse
    Linux下查看用户列表
    org.apache.commons.httpclient
    java map 遍历
    java String split
    胸上肌到底要怎么练啊!
    POI操作Excel常用方法总结
  • 原文地址:https://www.cnblogs.com/KiVen2015/p/6627253.html
Copyright © 2011-2022 走看看