This question already has an answer here:
- AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection? 8 answers
I'm using the Apple AVCam code with AVCamCaptureManger
to capture a still image. I don't display any camera views to the user, the image is just automatically taken behind the scenes without the user's involvement. However, it still plays a shutter sound when I call [captureManger captureStillImage]
and I don't want it to play a shutter sound.
There are many apps in the AppStore that "secretly" take a picture without a shutter sound, so I'm sure it's possible to somehow mute this sound. If I can't mute this sound directly, is there anyway to adjust not the volume of the phone, but the volume of my app itself (the output volume of the app)?