How long does AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) last?

时间秒杀一切 提交于 2019-12-24 09:27:38

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/3338006/how-long-does-audioservicesplaysystemsoundksystemsoundid-vibrate-last

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!