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).