Coding under the Hammer
Make your iPhone vibrate
One thing that took me a while to find out, was how to make an iPhone vibrate. In the end I found out that it is in the audio APIs, and it is just the one line of code.
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
| Print article | This entry was posted by Spencer MacDonald on May 23, 2009 at 1:27 pm, and is filed under Quick Tip, iPhone. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |