Tell me about multiview mode in visionOS
Generated on 7/31/2024
1 search
Multiview mode in visionOS is a feature introduced in the session Explore multiview video playback in visionOS. It allows users to watch multiple video screens simultaneously, enhancing the viewing experience by leveraging AVKit and AVPlayerviewController.
Key Concepts of Multiview Mode:
-
AVPlayerviewController and AVExperienceController:
- Each video screen in a Multiview experience is backed by an individual AVPlayerviewController.
- The AVExperienceController defines the set of possible video playback experiences for its parent AVPlayerviewController, such as embedded or expanded views.
-
User Interface and Interaction:
- A Multiview button in the PlayerviewController's UI indicates the availability of related content.
- Tapping this button reveals a customizable content browser where users can select additional videos to watch side by side.
-
Customization and Layout:
- Users can add, remove, arrange, reposition, and resize video screens within the Multiview layout.
- The layout templates are designed to maximize comfort and viewability, with features like light casting and familiar playback controls.
-
Implementation:
- Developers can provide a content browser view controller to manage available content and interact with the AVMultiviewManager, which handles the details of the Multiview experience.
For a detailed walkthrough of these concepts and how to implement them, you can refer to the session chapters:
This feature is particularly useful for scenarios like watching multiple sports games, different camera angles, or multiple streamers simultaneously, providing a rich and customizable viewing experience on visionOS.
Introducing enterprise APIs for visionOS
Find out how you can use new enterprise APIs for visionOS to create spatial experiences that enhance employee and customer productivity on Apple Vision Pro.
Get started with HealthKit in visionOS
Discover how to use HealthKit to create experiences that take full advantage of the spatial canvas. Learn the capabilities of HealthKit on the platform, find out how to bring an existing iPadOS app to visionOS, and explore the special considerations governing HealthKit during a Guest User session. You’ll also learn ways to use SwiftUI, Swift Charts, and Swift concurrency to craft innovative experiences with HealthKit.
Explore multiview video playback in visionOS
Learn how AVExperienceController can enable playback of multiple videos on Apple Vision Pro. Review best practices for adoption and explore great use cases, like viewing a sports broadcast from different angles or watching multiple games simultaneously. And discover how to design a compelling and intuitive multiview experience in your app.
Design great visionOS apps
Find out how to create compelling spatial computing apps by embracing immersion, designing for eyes and hands, and taking advantage of depth, scale, and space. We’ll share several examples of great visionOS apps and explore how their designers approached creating new experiences for the platform.
Optimize for the spatial web
Discover how to make the most of visionOS capabilities on the web. Explore recent updates like improvements to selection highlighting, and the ability to present spatial photos and panorama images in fullscreen. Learn to take advantage of existing web standards for dictation and text-to-speech with WebSpeech, spatial soundscapes with WebAudio, and immersive experiences with WebXR.