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>

  • 相关阅读:
    我的python之路5
    我的python之路4
    我的python之路3
    我的python之路2
    我的python之路1
    AJAX 表单提交 文件上传
    PBKDF2WithHmacSHA1算法
    Ant 随想
    maven 启蒙
    HELLO WORLD
  • 原文地址:https://www.cnblogs.com/KiVen2015/p/6627253.html
Copyright © 2011-2022 走看看