How to make your iPhone vibrate

- by

Done with only one line of code:

AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);

You need to import the AudioToolbox Framework and import it in your header file for this to work.



If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.