It is pretty simple, just set
playerViewController.videoGravity = .resizeAspectFill
:)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: