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