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

140 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 best solutions below

0
On

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

0
On

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