Вопрос

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