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?
Asked
Active
Viewed 451 times
2 Answers
2
Please use below property to get current position
mpMusicPlayer.currentPlaybackTime

Santu C
- 2,644
- 2
- 12
- 20
0
The following links can help you-
How to set music playback slider in music player
Problems with currentPlaybackTime and MPMusicPlayerController and iOS 7.1.

Community
- 1
- 1

Ravi Gautam
- 960
- 2
- 9
- 20