How do I play the shutter sound from iPhone when I click a button?
If you have "Live Photo" active when taking a photo then you will not hear the shutter sound of the camera. If you have the Silent Switch (Top Left SIDE) set to ON then you will not hear the camera shutter sound. To hear the camera shutter sounds, Deactivate Live Photo and ensure that the Silent Switch is set to OFF.
If the camera shutter sound is still not working try to "Adjust the volume of the camera's shutter sound using the volume buttons on the side of your iPhone. Or, when Camera is open, swipe down from the top-right corner of the screen to open Control Center, then drag ." We hope this helps!
You can use AudioToolbox
and pure magical number 1108
like this:
Swift:
import AudioToolbox
AudioServicesPlaySystemSound(1108)
Objective-C:
#import <AudioToolbox/AudioToolbox.h>
AudioServicesPlaySystemSound(1108);
Here is full list of these pure magical ids.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With