iOS_Pass iOS10获取相册权限崩溃crash解决方法

iOS发布后,应用中获取相册权限应用崩溃crash

log如下:

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: Privacy - Photo Library Usage Description
后边的内容填写友好提示,如:请同意获取您的多媒体资料等

这里写图片描述aster/plis.png)

你可能感兴趣的:(iOS_Pass)