记录一下原因 是因为iOS 12中调起相机需要相机和麦克风权限 之前只加了相机的描述 闪退报告为
\
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
\
所以只要加上麦克风使用说明就好了。
网友评论