开发者

Vibrate when UialertviewAppears iphone sdk?

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)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜