iOS10相册相机闪退bug
2016-09-23 10:35
357 查看
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 NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
修复方法:
在info.plist文件下添加
相机权限
<key>NSCameraUsageDescription</key>
<string>cameraDesciption</string>
相册权限
<key>NSPhotoLibraryUsageDescription</key>
<string>photoLibraryDesciption</string>
文/海文_L(简书作者)
原文链接:http://www.jianshu.com/p/5085430b029f
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
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文件下添加
相机权限
<key>NSCameraUsageDescription</key>
<string>cameraDesciption</string>
相册权限
<key>NSPhotoLibraryUsageDescription</key>
<string>photoLibraryDesciption</string>
文/海文_L(简书作者)
原文链接:http://www.jianshu.com/p/5085430b029f
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
相关文章推荐
- iOS10相册相机闪退bug
- iOS10相册相机闪退bug
- iOS10 模拟器使用相机和相册闪退bug
- iOS10相册相机闪退bug
- IOS10 相册相机闪退bug解决办法
- iOS10相册相机闪退bug
- iOS10相册相机闪退bug
- iOS 10 相册相机闪退bug
- ios10 相册相机闪退
- iOS10 相册、相机闪退解决方法
- 升级iOS10后访问相机、相册、麦克风、通讯录闪退
- iOS开发-解决iOS10相册相机闪退
- iOS 解决iOS10相册、相机、麦克风等权限使用问题
- xcode8 iOS10上关于相册,相机,麦克风 等访问权限plist设置的问题
- iOS 10 相机相册闪退适配
- 关于Android7.0相机闪退以及相册获取不到图片问题
- ios10相机 相册等权限问题
- iOS 10 使用相机相簿闪退的bug修正方法
- iOS10访问权限的配置(解决访问奔溃问题,包括相册/相机等)
- Android7.0及以上相机相册调用闪退处理封装,向下兼容