I'm using AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);

How can I choose the duration of the vibration?

I want only one short vibration, like the "click" from tapping a keyboard button.

没有正确的解决方案

其他提示

You can use for short vibration

AudioServicesPlaySystemSound(1520); // 1521
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top