I'm trying to update a UISlider with the current time from a AVPlayer. Im using a NSTimer to call a method with this code every 1 second:
CMTime duration = audioPlayer.currentTime;
float seconds = CMTimeGetSeconds(duration);
NSLog(@"duration: %.2f", seconds);
nowPlayingSlider.value = seconds;
The Times being logged right but the uislider never updates.