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.
精彩评论