开发者

How do you cause a longer vibration from System sounds default vibration

开发者 https://www.devze.com 2022-12-16 20:17 出处:网络
I want to create 开发者_JAVA百科a vibration but not of the normal lengthIt can\'t be done with the official SDK. The only way to trigger vibration is using a call to the following function, which unfo

I want to create 开发者_JAVA百科a vibration but not of the normal length


It can't be done with the official SDK. The only way to trigger vibration is using a call to the following function, which unfortunately does not take any other parameters.

AudioServicesPlayAlertSound(kSystemSoundID_Vibrate) 

Maybe there's a way to do it for jailbroken iPhones, but no that I'm aware of.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号