user1120133
user1120133

Reputation: 3234

Audio Framework feature

Does the Audio Framework have a for automatically flipping pages or views in sync with audio?

Thanks for your answers.

Upvotes: 0

Views: 57

Answers (2)

meggar
meggar

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

mattjgalloway
mattjgalloway

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

Related Questions