Post

Replies

Boosts

Views

Activity

Reply to Video player options not visible on iOS 16
For Swift UI -> IOS 16 CustomVideoPlayer() .compositingGroup() // Mandatory struct CustomVideoPlayer : UIViewControllerRepresentable { var player: AVPlayer func makeUIViewController(context: UIViewControllerRepresentableContext) -> AVPlayerViewController { let controller = AVPlayerViewController() controller.player = player return controller } func updateUIViewController(_ uiViewController: AVPlayerViewController, context: UIViewControllerRepresentableContext) { }
Nov ’22