can I apply a glass effect to a custom shape?
Asked on 06/14/2025
1 search
Yes, you can apply a glass effect to a custom shape. In the session "Build a UIKit app with the new design," it is mentioned that by default, the glass effect is in a capsule shape, but you can customize the shape using the new corner configuration API. This allows you to adapt the glass effect to different shapes as needed. For more details, you can refer to the session on Build a UIKit app with the new design (19:15).

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.

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.

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.