Skip to content

Instantly share code, notes, and snippets.

@jeksys
Created July 5, 2011 17:22
Show Gist options
  • Save jeksys/1065330 to your computer and use it in GitHub Desktop.
Save jeksys/1065330 to your computer and use it in GitHub Desktop.
Vibration
AudioToolbox.framework
#import <AudioToolbox/AudioServices.h>
Now use this line of code everytime you want to make the phone vibrate:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment