1

I was wondering how to get the current position of an MPMusicPlayer. For example, if the music player is playing a song and it is currently at 0 minutes 23 seconds, how would I get that value as well as set it?

smecperson
  • 301
  • 1
  • 4
  • 15

2 Answers2

2

Please use below property to get current position

mpMusicPlayer.currentPlaybackTime

Santu C
  • 2,644
  • 2
  • 12
  • 20