开发者

iPhone SDK: Observe current time of AVAudioPlayer

is there a best practice for getting an event on every second of play开发者_开发知识库back of an AVAudioPlayer instance? I need to change a view automatically depending on the current playback time.

Thank You!


You could start one or more instances of NSTimer when playback starts, and change the view when the timer(s) fire.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜