How can window placement be controlled in visionOS
Generated on 8/23/2024
1 search
In visionOS, window placement can be controlled using the default window placement modifier. This allows you to set the initial position and size of a window programmatically. Windows can be positioned relative to other windows or to the screen. For example, you can place a window in a utility panel position, which is close by and generally within direct touch range. This is particularly useful for creating interactive experiences where the window needs to be easily accessible to the user.
For more detailed information, you can refer to the session Work with windows in SwiftUI (06:15) which covers window placement in visionOS.
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.
Design interactive experiences for visionOS
Learn how you can design a compelling interactive narrative experience for Apple Vision Pro from the designers of Encounter Dinosaurs. Discover how these types of experiences differ from existing apps, media, and games, and explore how to design narratives that bring audiences into new worlds. Find out how you can create stories that adapt to any space and size, provide multiple levels of interaction to make them accessible to all, and use animation, spatial audio, and custom gestures to further immerse people in your experience.
Work with windows in SwiftUI
Learn how to create great single and multi-window apps in visionOS, macOS, and iPadOS. Discover tools that let you programmatically open and close windows, adjust position and size, and even replace one window with another. We’ll also explore design principles for windows that help people use your app within their workflows.