cocoa touch - Vibrate iPhone for specified duration -


i able vibrate iphone specified duration. using audiotoolbox framework, vibrate 2 seconds, when use code:

audioservicesplaysystemsound (ksystemsoundid_vibrate); 

this job, i'd rather vibrate shorter (or longer) duration depending on how user performed action, not mention benefits offer game developers.

thanks ideas.

you set nstimer or loop set off vibration every 2 seconds , make seem long vibrate. not sure if apple allow tough.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -