开发者

How to vibtrate iPhone programmatically

开发者 https://www.devze.com 2023-01-29 10:02 出处:网络
In my app, I have to ring an alarm in iPhone with vibrations at a particular time. How can I add the functionality of Vibratio开发者_运维知识库n in my App. sample code will be better. Thanks in advanc

In my app, I have to ring an alarm in iPhone with vibrations at a particular time. How can I add the functionality of Vibratio开发者_运维知识库n in my App. sample code will be better. Thanks in advance.


AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);

(Declared in AudioServices.h)

0

精彩评论

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