views:

243

answers:

1

Currently i am playing a simple beep.mp3 file when alertview appears i am using avaudioplayer and set an indefinite loop to play beep until alert dismisses.Now i want to vibrate continuously when alertview appears with beep until user dismisses alert.how do i do this?

A: 
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);

(iPhone Dev Center link)

Matt B.
i know this. but i need to vibrate continuously until alert dismissed
Rahul Vyas
how about loop play it ?
Robin