how to run vibrate continuously in iphone?

Posted by aman-gupta on Stack Overflow See other posts from Stack Overflow or by aman-gupta
Published on 2010-04-27T04:59:39Z Indexed on 2010/04/27 5:03 UTC
Read the original article Hit count: 264

Filed under:

Hi,

In my application I m using following coding pattern to vibrate my iPhone device

Header File:- AudioServices.h

AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);

////////////////////////////////////////////////////////////////

My problem is that when I run my application it gets vibrate but only for second but I want that it will vibrate continuously until I will stop it.

How it could be possible .Please help me out its urgent

Thanks in Advance

© Stack Overflow or respective owner

Related posts about iphone