Post

Replies

Boosts

Views

Activity

Reply to SwiftUI VideoPlayer (Video Controls) in iOS14
This code resolved it for me, but it will change the behavior of all AVPlayerViewControllers in the app. extension AVPlayerViewController { override open func viewDidLoad() { super.viewDidLoad() self.showsPlaybackControls = false } } If you want to only affect a particular instance, you may want to subclass AVPlayerViewController and use UIViewRepresentable to wrap it for SwiftUI.
May ’23