문제

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