且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在iPhone上静音AVCapture快门声音

更新时间:2022-06-27 00:41:18

如果你想避开快门声,你必须使用 AVCaptureVideoDataOutput 。请注意,隐蔽捕获图像是针对App Store策略的。您需要确保以某种方式告诉用户您拍照。

You have to use an AVCaptureVideoDataOutput if you want to avoid the shutter sound. Note that covertly capturing images is against App Store policy. You need to make sure you user is told in some way that your taking a picture.