How to avoid shutter sound struggling during capturing still image with `AVCaptureStillImageOutput`?

99封情书 提交于 2019-12-13 07:24:53

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/5349667/how-to-avoid-shutter-sound-struggling-during-capturing-still-image-with-avcaptu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!