Give me all the API for Liquid Glass toolbar

Asked on 2025-09-07

1 search

The Liquid Glass toolbar APIs were discussed in several sessions at WWDC 2025. Here are the key points:

  1. Platforms State of the Union: The session introduced the new design with Liquid Glass tab bars and sidebars, which are automatically applied to apps using certain views like Navigation Split View. Toolbars have several new APIs that allow you to section and style items to reflect their role. The new Toolbar Spacer API enables you to create additional groupings, and you can apply color using tint modifiers and the prominent style for key actions. Platforms State of the Union

  2. Build an AppKit app with the new design: This session discussed how toolbar elements are placed on a glass material, and AppKit automatically groups multiple toolbar buttons together on one piece of glass. You can use the NSGlassEffectView API to place your content on glass, and customize the appearance using properties like corner radius and tint color. Build an AppKit app with the new design

  3. Build a UIKit app with the new design: UIKit offers APIs to adopt the new Liquid Glass look and feel. Liquid Glass is designed to be an interactive layer, floating above your content. You can use the UIVisualEffectView to create a glass effect for custom views. Build a UIKit app with the new design

  4. Build a SwiftUI app with the new design: The session highlighted the use of the new Toolbar Spacer API to adjust sections of toolbar items and how Liquid Glass effects can be applied to enhance the design. Build a SwiftUI app with the new design

These sessions provide a comprehensive overview of the APIs available for implementing Liquid Glass toolbars in your applications.

Give me all the API for Liquid Glass toolbar | Ask WWDC