- 访问相册有闪退了,苹果真是越来越注重用户体验了
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配置,其他问题军哥不在重复,因为都是一样的
网友评论