开发者

How to disable the click sound of the iPhone Camera through code?

开发者 https://www.devze.com 2023-03-20 23:21 出处:网络
I have to disable the click sound of the iPhone Camera in my app. Pl开发者_开发技巧ease provide the code if possible?When the user presses the Click button or maybe when your app is launched, rename f

I have to disable the click sound of the iPhone Camera in my app. Pl开发者_开发技巧ease provide the code if possible?


When the user presses the Click button or maybe when your app is launched, rename file /System/Library/Audio/UISounds/photoShutter.caf to maybe /System/Library/Audio/UISounds/photoShutter1.caf

When the photo is done clicking, rename it back to original.

Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消