Is there a way to programmatically set the device my app is running on to silent mode? The silence must encompass the entire device, not just my application.
Long answer: Third party apps can not override the mute switch. It only works for Apple's own "Find my iPhone" app.
Go to Settings > Do Not Disturb and find “Activate.” It is usually set to “Automatically” by default. Change it to “Manually” to see if this sound problem will be resolved. If you have an older device, it is likely that the silent button could be damaged due to excessive use.
Turn Ring/Silent mode on or off on your iPhone In Ring mode, you'll hear ringtones and alerts. In Silent mode, you won't – but your iPhone can still play sounds, such as when you play music or videos.
Tap the Back of the iPhone Next, go to the “Accessibility” settings and select “Touch.” Scroll down to “Back Tap.” Decide if you want to use the “Double Tap” or “Triple Tap” gesture. Select “Mute” from the list of actions.
No. As it's a physical hardware switch, there's no software method for muting the entire device.
No reason to fight the framework, just let the user mute the device if he/she pleases.
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