how to set iPhone vibrate length?

强颜欢笑 提交于 2019-12-06 09:45:51

You can use these numbers for less vibration.

AudioServicesPlaySystemSound(1519); // Weak 
AudioServicesPlaySystemSound(1520); // Strong

You can merge two-three vibration for more vibration duration.

I do not think its possible to alter that vibration duration.. Even if you achieve it using some library but I do not think Apple will be happy about that. There are chances of rejection of your App..

You are not allowed to change the duration of vibration. If you want more you'd have to set it to start vibrating immediately after the first finishes, but Apple has been known to reject for that.

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