.glassEffectUnion alternative in UIKit

Asked on 2025-08-16

1 search

In UIKit, the alternative to the .glassEffectUnion is the new Liquid Glass material. Liquid Glass is designed to be an interactive layer that floats above your content, providing a distinct control layer. To use Liquid Glass with custom views in UIKit, you can create a UIVisualEffectView and configure it with a new UI glass effect. This effect can be customized in terms of shape and appearance, adapting to light and dark modes automatically.

For more detailed guidance on implementing Liquid Glass in UIKit, you can refer to the session Build a UIKit app with the new design (19:15) which covers custom elements and how to use the new design system effectively.