tvOS: Custom Scrub bar

Hi tvOS team,


I'd like to create a custom scrub bar as an overlay on custom video player using AVPlayer component.

The purpose of the custom scrub bar is to be able to provide to the user a feature on a HLS live stream (and not a replay) to seek a certain position into the stream, and then relaod it.


However, I saw that UISlider is not included in UIKit for tvOS.


Furthermore, I saw by using "Content View Debbugger" with XCode simulator that the AVPlayerViewController is using a component called AVNowPlayingTransportBar for scrubbing.


But it seems that this component in not available in the public API of AVFoundation, it seems to be private.


Could you provide us any guideline, or UI component to implement scrubbing on a custom player ?

I thought about using UIProgressView, with a UIView moving when user interacts with the remote, but it doesn't seem to be very easy to implement, and UIProgressView are not made for that.


Thank you by advance and Merry christmas to you all,


Best,


Lorenzo.

Have you made any progress with coming up with a custom scrubber?

tvOS: Custom Scrub bar
 
 
Q