AVKit provides the SwiftUI view VideoPlayer
, and allows you to add an interactive overlay. But that overlay is normally placed behind the system-provided playback controls.
Is there any way to suppress those controls, without resorting to wrapping AVPlayerView
?
It sounds like you're looking for AVPlayerViewController's showsPlaybackControls.