is it possible to play back from a specific point or time in a MPMediaItem?

111 views Asked by At

Is it possible to play change the playback position from a MPMediaItem? I would like to be able to move between different points in a audio file (say a song) held on the devices iTunes library. Which framework should I be using?

2

There are 2 answers

0
Nikhil Lihla On

I haven't tried it by myself. But here's a link to documentation that i hope could help you.

0
drw On

You can do it via the AVPlayer. See Using MPMediaItems with AVAudioPlayer for details. Works via the MPMediaItem's URL.