gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 18:26:10 25 4
gpt4 key购买 nike

我可以通过调用 [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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com