displaying music current time & duration from AVFoundation
- by msb
I have a view-based iphone application that has a single play-pause button that plays an mp3 file.
At the time of invoking my doPlayPauseButton() method, I 'd like to show the current time and total duration of this mp3 through the AVAudioPlayer instance I've created, called myAudioPlayer.
I have placed two labels at the UI and i'm trying to assign…