APAudioPlayer
APAudioPlayer copied to clipboard
Add method update current time.
I think it's better if we have a method return current time like this:
func audioPlayer(_ audioPlayer: APAudioPlayer, didUpdateProgressionTo time: TimeInterval, percentageRead: Float) {
// time is the current duration of the track
//percentageRead is the percent current duration/total duration
}