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
是的。你有什么问题?播放声音、振动,还是同时进行?要播放短声音,您可以使用AVAudioPlayer
该类。振动由以下代码触发:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
例如,此处描述。