I've been trying to make the iPhone Vibrate using this code:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
But is not working, could it be because I am playing sound at the same time as calling this?
I've been trying to make the iPhone Vibrate using this code:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
But is not working, could it be because I am playing sound at the same time as calling this?
That should work fine. Has vibration been turned off on the device?
On all iPhones that I've tested on (original, 3GS, and 4), it should vibrate. On the iPod touch 1st generation, it'll play a beep through the built-in speaker. On the iPod touch 2nd generation, it won't do anything. On the iPad, it won't do anything either. Those are all the devices I've tested on.