I created a Slider (operating as control of the video, like YouTube has at the bottom) and set the maximum (duration) and minimum values. And then used SeekToTime t
SeekToTime
The probably simplest solution would be, using the "touch up inside" action, connected trough the interface builder.
@IBAction func finishedTouch(_ sender: UISlider) { finishedMovingSlider(sender) }
This will get called as soon as your finger leaves the phone screen.