How can I get the cornerradius of the parent view?
Asked on 2025-12-31
1 search
To get the corner radius of a parent view, you can use the concept of concentric shapes, which is discussed in the session "Get to know the new design system" at WWDC 2025. Concentric shapes calculate their radius by subtracting padding from the parent view. This approach ensures that the shapes align well within their container, maintaining a balanced and visually appealing layout.
For more details, you can refer to the session Get to know the new design system (00:03:38).

Get to know the new design system
Dive deeper into the new design system to explore key changes to visual design, information architecture, and core system components. Learn how the system reshapes the relationship between interface and content, enabling you to create designs that are dynamic, harmonious, and consistent across devices, screen sizes, and input modes.

Build an AppKit app with the new design
Update your AppKit 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.

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.
