Created
July 5, 2011 17:22
-
-
Save jeksys/1065330 to your computer and use it in GitHub Desktop.
Vibration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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