简体   繁体   English

拍摄照片时有时不会播放照相机快门噪点。

[英]camera shutter noise sometimes does not play when taking a photo.

Sometimes when you aggressively start taking pictures in my iOS camera app it sometimes does not play the noise. 有时,当您开始在我的iOS相机应用中积极拍摄照片时,有时并不会产生噪音。 Why is this? 为什么是这样? To resolve this I have inserted the following. 为了解决这个问题,我插入了以下内容。 And now I was going to disable the normal cameras noise to ensure that only one noise is heard. 现在,我要禁用普通的相机噪音,以确保只听到一种噪音。 But is this allowed? 但是可以吗?

import AudioToolbox
AudioServicesPlaySystemSound(1108)

There is no reason this is not allowed. 没有理由不允许这样做。 I'm assuming you are asking about App Review and if it's allowed to get through that process. 我假设您正在询问有关App Review的信息,以及是否允许其通过该过程。

Since it is a documented and public API you shouldn't run into any problems with this. 由于它是一个文档化的公共API,因此您不会遇到任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM