调用相机时崩溃

提示: 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.
解决办法:
1.在项目中找到info.plist文件,添加一个key:NSCameraUsageDescription
2.值随便写就行了
(其他涉及权限的同理)