Im making a iPhone app and want to make a seek bar for a AVPlayer. I want to make it with a UISlider. How can I do this?
You can map the duration of the file being played by the AVPlayer to the UISlider's range (maximum and minimum values) using the duration
property of AVPlayer and make changes in the slider position to set the currentTime
of the AVPlayer.