0

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?

drw
  • 943
  • 1
  • 10
  • 25

2 Answers2

0

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

Nikhil Lihla
  • 607
  • 6
  • 21
0

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

Community
  • 1
  • 1
drw
  • 943
  • 1
  • 10
  • 25