I don't have access an iPhone to test on right now. Can anyone tell me how long this call makes the phone vibrate? Thanks.

有帮助吗?

解决方案

This article at http://www.kimballlarsen.com/2009/12/22/how-to-make-iphone-vibrate-for-a-long-time/ states that:

AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) API call will produce exactly 0.4 seconds of vibration and 0.1 seconds of silence.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top