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.
ios11 由于新增的隐私策略,在调用相机和相册权限上都要给用户提示
所以需要在info.plist上配置