hi Apple
I want this back button, but because mutileView is set, this back button is gone, there are only full screen and zoom out buttons, and I can't operate the playback page back
Post
Replies
Boosts
Views
Activity
The effect shown now
I want this kind of display
When I enable the multi-screen functionality, the back button disappears…
Hi Michael,
Could you try adding this code in the "DestinationVideo" demo:
controller.experienceController.allowedExperiences = .recommended(excluding: [.multiview])
I couldn’t find the addChildViewControllerAndView method. However, my implementation matches the example from the link you provided. I originally thought this method might include options for setting the video to full screen, but it seems it’s only for handling UI.
Also, I found an issue in the “DestinationVideo” demo with versions before visionOS 2.1. In the video playback page, when opening the playlist and selecting a video to play, the playlist doesn’t close automatically, which makes it impossible to interact. I tried using dismiss() in selectionAction, but it didn’t work either. It works fine in visionOS 2.1.