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) {
}
Post
Replies
Boosts
Views
Activity
I found this string. All path looks like App-Prefs:HEALTH&path=SOURCES_ITEM