问题
Right now I've been trying to mute my shutter sound when capturing an image in iOS SDK but unable to do it.
Is there any way of kind of code available for it
(Actually, I wanted to trace a fake person from my chat app)
I've seen:
- Muting AVCapture shutter sound on iPhone
- How to mute the capture sound in AVFoundation?
- AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection?
But I have not succeeded yet.
回答1:
No. There is no way to programatically mute the shutter sound when capturing a still image. In most territories, muting the device in hardware (sliding the Mute button across) will mute the shutter sound, but not all—in Japan, for example it won't, because of legal restrictions.
来源:https://stackoverflow.com/questions/17040309/i-wish-i-could-mute-shutter-sound-of-camera-using-ios-sdk