Reputation: 3234
Does the Audio Framework
have a for automatically flipping pages or views in sync with audio?
Thanks for your answers.
Upvotes: 0
Views: 57
Reputation: 1219
No. when you start playing the audio, spawn a background thread that checks the audio player's current playback time every 0.1 seconds or so. when its time to update a view/page, switch the view on the main thread.
you can store the times to switch for each page in a dict or array in a plist.
Upvotes: 3
Reputation: 34912
Simply put... no it doesn't.
If you created something though, it'd be nice to see that code on Git Hub :-).
Upvotes: 1