Can I make an iPhone vibrate when in silent mode?

2.2k Views Asked by At

Can I program my iOS app to vibrate an iPhone when the phone's "Vibrate on Silent" and "Vibrate on Ring" settings are turned off?

2

There are 2 best solutions below

1
David S. On

You cannot. I just tested. Do-not-disturb and silent mode do not disable vibration, but turning off "Vibrate on Silent" and "Vibrate on Ring" do disable vibration entirely.

There is a private API documented here on SO but generally Apple will not accept apps using an undocumented API, and it may not work anyway for your purpose.

For a general review on how to make an iPhone vibrate this SO answer is very thorough.

0
Eric On

In Settings, the "Vibrate on Silent" toggle and "Vibrate on Ring" toggle control whether the phone will vibrate or not when the phone is in those respective states (i.e., when the user flips the orange "Ring/Silent" switch on the left side of their phone).