Search code examples
swiftuilocalnotificationiphone-vibrate

Local notification to vibrate without sound


My goal is to have a local notification vibrate the phone without sound.

I have been googling around and am leaning towards using a sound file that is a blank (nothing to hear) sound. But I am curious if there is a better way?


Solution

  • As far as I can tell vibrate and sound come hand in hand so your sugeestion of the blank sound file is probably the most effective to get the result you need.