How much control do I have over the vibration unit on the iPhone? I am simulating a plucked string, it would be fantastic if I could get the iPhone to vibrate in accord with the sound.
I am usi开发者_StackOverflowng following method to vibrate the device AudioServicesPlaySystemSound (kSystemSoundID_Vibrate);
is it possible to d开发者_如何转开发etect vibration on the iPhone? I\'m trying to figure out how to detect when the user smacks a desk or table when the phone is sitting on it. I remember reading some
I am trying to vibrate the iPhone using AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) while playing iPod music with the MediaPlayer framework, but I can\'t get the vibrate to work while the mus
I am making an app in which i need to implement calling emergency medical services when mobile shakes with a particular threshold.
This question already has answers here: Closed 10 years ago. Possible Duplicate: Making the iPhone vibrate