When will AutoLayout be available in SwiftUI?
Asked on 2024-07-17
1 search
AutoLayout is not directly mentioned in the context provided. However, SwiftUI has introduced several new features and improvements that enhance layout capabilities, including dynamic layouts and improved interoperability with UIKit.
For example, in the session Get started with Dynamic Type, it is demonstrated how to achieve dynamic layouts in SwiftUI using the dynamic type size environment keypath. This allows for layouts to adapt based on text size, switching between vertical and horizontal stacks as needed.
Additionally, the session What’s new in SwiftUI discusses various enhancements in SwiftUI, including improved APIs and better integration with the new Swift 6 language mode, which could indirectly benefit layout management.
For more detailed information on the latest layout capabilities in SwiftUI, you might want to check out the sessions:
These sessions cover various aspects of layout management and new features in SwiftUI that could be relevant to your needs.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

SwiftUI essentials
Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

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.