获取iPhone震动 [英] Get iPhone to Vibrate
本文介绍了获取iPhone震动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试使用以下代码制作iPhone Vibrate:
I've been trying to make the iPhone Vibrate using this code:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
但是不工作,可能是因为我正在播放声音,
But is not working, could it be because I am playing sound at the same time as calling this?
推荐答案
这应该可以正常工作。设备上的振动已关闭?
That should work fine. Has vibration been turned off on the device?
这篇关于获取iPhone震动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文