Return to AvAudioPlayer
Posted
by robmontesinos
on Stack Overflow
See other posts from Stack Overflow
or by robmontesinos
Published on 2010-06-05T09:30:40Z
Indexed on
2010/06/05
9:32 UTC
Read the original article
Hit count: 249
avaudioplayer
I can use some help with an AVAudioPlayer issue. My App is basically an interactive audio book. The RootViewController is a UITableView using a drill-down approach sitting on top of a Navigation Controller. The first level are the Chapters and the second level are the Topics. Each Topic goes to an audio file which plays in a SoundPlayerViewController utilizing AVAudioPlayer - standard stuff.
If the user leaves the SoundPlayer to browse Chapters and Topics with the Back button(s), the audio continues playing - this is good.
If the user selects a new Topic, the current audio file stops and the new audio file begins playing - this is good.
What I have not been able to figure out is how to allow the user to go back to the current SoundPlayer so they can rewind, pause or whatever. This is not so good.
Any help with an approach or pointing to some help would be greatly appreciated. Thanks so much in advance.
© Stack Overflow or respective owner