Currently i am playing a simple beep.mp3 file when alertview appears i am using avaudioplayer and set an indefinite loop 开发者_如何学Cto 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?
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
(iPhone Dev Center link)
精彩评论