Hello there,
is there any way to play a short sound and let the phone vibrate at the same time? I found something about AudioQueing, but I'm a newbie and cant wrap my head around that whole process of AudioQueing.
Kind regards from Germany
Hello there,
is there any way to play a short sound and let the phone vibrate at the same time? I found something about AudioQueing, but I'm a newbie and cant wrap my head around that whole process of AudioQueing.
Kind regards from Germany
Yes. What part do you have problems with? Playing sounds, vibrating, or doing both at once? For playing short sounds you can use the AVAudioPlayer
class. The vibration is triggered by the following code:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
Described here, for example.