how to enforce older design?
Asked on 2025-09-11
1 search
To enforce an older design in your app, you can use specific APIs and properties that allow you to maintain compatibility with previous design systems. For example, in AppKit, you can use the PrefersCompactControlSizeMetrics
property on NSView
to revert control sizes to match previous releases of macOS. This property is inherited down the view hierarchy and, when set to true, AppKit controls will revert to sizing that is compatible with older macOS versions.
For more detailed guidance on maintaining older design elements while adopting new features, you might want to explore sessions like "Build an AppKit app with the new design" and "Get to know the new design system" from WWDC 2025. These sessions provide insights into how to integrate new design elements while considering compatibility with existing layouts and controls.
If you are interested in specific techniques or APIs, you can refer to the session Build an AppKit app with the new design (12:25) for more information on adapting control sizes and maintaining compatibility.

Build a UIKit app with the new design
Update your UIKit app to take full advantage of the new design system. We’ll dive into key changes to tab views, split views, bars, presentations, search, and controls, and show you how to use Liquid Glass in your custom UI. To get the most out of this video, we recommend first watching “Get to know the new design system” for general design guidance.

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

Build a SwiftUI app with the new design
Explore the ways Liquid Glass transforms the look and feel of your app. Discover how this stunning new material enhances toolbars, controls, and app structures across platforms, providing delightful interactions and seamlessly integrating your app with the system. Learn how to adopt new APIs that can help you make the most of Liquid Glass.