iOS10新特性-访问相册相机

作者: coderYJ | 来源:发表于2016-06-20 21:29 被阅读468次
      1. 访问相册有闪退了,苹果真是越来越注重用户体验了

    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里面配置 NSPhotoLibraryUsageDescription,废话不多说直接上图


    不需要我多说了哦
    • 2.相机描述
      2016-06-19 10:00:08.121342 swiftScan[930:193993] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

    直接在infoplist里面配置NSCameraUsageDescription这个key就OK了,以后如果出现这种问题,直接在info.plist配置,其他问题军哥不在重复,因为都是一样的

    相关文章

      网友评论

        本文标题:iOS10新特性-访问相册相机

        本文链接:https://www.haomeiwen.com/subject/zxowdttx.html