swiftui mark toolbar button as prominent
Asked on 2025-06-15
1 search
To mark a toolbar button as prominent in SwiftUI, you can apply a bordered prominent button style with a tint color. This is discussed in the session titled "What’s new in SwiftUI" at WWDC 2025. The session explains how to use the new Toolbar Spacer API to adjust the sections of toolbar items and apply a prominent button style to make toolbar items stand out. You can find more details in the session What’s new in SwiftUI (02:20).

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.

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