开发者

How to vibtrate iPhone programmatically

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜