Leverage the AVFoundation framework via UIViewRepresentable As of the time of writing there isn’t a straightforward way of incorporating a video background or a video player in SwiftUI. Fortunately, there is a way where with a little bit of hassle we can still make it work with help of the AVKit and AVFoundation that Apple […]