windowResizability visionos
Asked on 09/24/2024
1 search
In the session titled "Work with windows in SwiftUI" at WWDC 2024, there is a discussion about window resizability in visionOS. The session explains how to use the window resizability modifier to control the resizing behavior of windows. Specifically, it mentions that while the window can resize to match the content, it is not resizable by the player because the views have fixed sizes. This is part of a broader discussion on how to make use of windows and the APIs that support them in visionOS and macOS.
For more details, you can refer to the Work with windows in SwiftUI (11:32) session.

Tailor macOS windows with SwiftUI
Make your windows feel tailor-made for macOS. Fine-tune your app’s windows for focused purposes, ease of use, and to express functionality. Use SwiftUI to style window toolbars and backgrounds. Arrange your windows with precision, and make smart decisions about restoration and minimization.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.

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.