I wish i could mute shutter sound of camera using ios sdk [duplicate]

99封情书 提交于 2019-12-05 02:16:39

问题


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

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