如何在使用"AVCaptureStillImageOutput"捕获静止图像期间避免快门声挣扎?

如何在使用

问题描述:

我正在用AVCaptureStillImageOutput捕获图像.一切都很好.但是我试图导航到新的视图控制器,但快门声音却很难.有什么解决方法可以避免这种情况?

I'm capturing image with AVCaptureStillImageOutput. All done fine. But I tried to navigate into new view controller, the shuttering sound struggles. Any workaround to avoid this?

尝试将输出设置为 AVCaptureVideoDataOutput (不是AVCaptureStillImageOutput),并从视频输出中捕获单帧.

Try to set output to AVCaptureVideoDataOutput (not AVCaptureStillImageOutput) and capture single frame from the video output.