更新iOS10后相册、通讯录、话筒的权限崩溃问题
2016-09-23 21:42
459 查看
手机系统升级了 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.ps:你需要在info.plist文件 添加一个“NSContactsUsageDescription ”的Key,Value添加一个描述。
1,在项目中找到info.plist文件,右击有个 Open As,以Source Code 的形式打开
2,分别复制 以下 Value 和Key,Key 一定不能错,Value 貌似可以随便填写
相机权限描述:
Key:NSCameraUsageDescriptionType:StringValue:cameraDesciption
Key:NSContactsUsageDescriptionType:StringValue:contactsDesciption
Key:NSMicrophoneUsageDescriptionType:StringValue:microphoneDesciption
Key:NSPhotoLibraryUsageDescriptionType:StringValue:photoLibraryDesciption
然后,搞定!
相关文章推荐
- iOS10获取相册/通讯录/相机/麦克风权限崩溃解决办法
- iOS10 下相册访问崩溃权限设置的问题
- iOS中 iOS10 相机相册等权限崩溃问题
- 更新xcode8、ios10之后,隐私权限设置问题,运行崩溃报错
- iOS中 iOS10 调用相机相册等权限崩溃问题
- iOS10 关于相机相册崩溃问题
- iOS10 权限崩溃问题-b
- iOS中 iOS10 权限崩溃问题 韩俊强的CSDN博客
- Android拍照调用系统相册仿微信封装总结,治疗各种崩溃,图片横竖问题压缩等问题。-更新2016-12-21
- iOS10 权限崩溃问题
- iOS10 权限崩溃问题
- iOS10 权限崩溃问题
- iOS10 权限崩溃问题
- iOS 解决iOS10相册、相机、麦克风等权限使用问题
- 关于iOS10访问通讯录崩溃问题
- [绍棠] iOS中 iOS10 权限崩溃问题
- iOS10 权限崩溃问题
- iOS10 权限崩溃问题
- iOS10 因为各种权限而出现的崩溃的问题
- ios10相机 相册等权限问题