iphone - 如何让 iPhone 相机的快门声静音?

标签 iphone audio camera shutter

我可以通过调用 [UIImagePickerController takePicture:] 以编程方式使用 iPhone 拍摄照片,但当我这样做时,iPhone 会播放快门点击的响亮录音。当我在谷歌上搜索如何关闭点击声时,我找到了重命名 iPhone 播放的声音文件的建议。在我看来,我的应用程序这样做会导致它因访问系统框架而被应用程序商店拒绝。有没有一种编程方法可以关闭该声音?我的应用程序的性质要求相机保持安静。

最佳答案

我假设您已经解决了这个问题,但您的应用程序应该在 Appstore 验证中失败,因为它不符合 iOS 开发许可协议(protocol)。见下文:

Section 3.3.8: Any form of user or device data collection, or image, picture or voice capture or recording (collectively "Recordings"), and any form of data, content or information collection, processing, maintenance, uploading, syncing, storage, transmission, sharing, disclosure or use performed by, through or in connection with Your Application must comply with all applicable privacy laws and regulations as well as any related Program Requirements, including but not limited to any notice or consent requirements. In particular, a reasonably conspicuous audio, visual or other indicator must be displayed to the user as part of the Application to indicate that a Recording is taking place.

关于iphone - 如何让 iPhone 相机的快门声静音?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4236024/

相关文章:

Android相机结果图像应在捕获后旋转?

iphone - Apple 的 talkHere 示例代码中的音频音量

c++ - 使用MinGW播放声音

android - SoundPool未在Android App中加载

c# - 在WPF C#中使用NAudio录制音频

android - GvrViewerMain 自己旋转相机。 Unity3D + 谷歌VR

camera - 在 CodenameOne 中将默认摄像头设置为前置/后置

iphone - 监视区域但位置图标在应用程序被杀死时消失

iphone - 如何验证 IBOutlet/var 是否为 nil?

iPhone核心数据: Do Transformable Attributes have to Transform to only Data?