Post

Replies

Boosts

Views

Activity

Comment on How to have clickable/tappable buttons where the toolbar is supposed to be?
.toolbar is not an option for a couple of reasons: I find it very difficult to control grouping and layout of Toolbar Items I also need a bottom toolbar, and I would like both toolbars to share the same look & feel. Since there is not bottom toolbar option on the Mac, I end up with a Liquid Glass toolbar at the top and a regular toolbar at the bottom. In short, I'd like to control the layout and look of both toolbars and the built-in SwiftUI toolbar is not flexible enough for this.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’25
Comment on How to have clickable/tappable buttons where the toolbar is supposed to be?
Thanks. I tried messing with the zIndex but it didn't work. It seems like the invisible toolbar background is always above the detail view, even if the zIndex is .infinity
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’25
Comment on How to have clickable/tappable buttons where the toolbar is supposed to be?
.toolbar is not an option for a couple of reasons: I find it very difficult to control grouping and layout of Toolbar Items I also need a bottom toolbar, and I would like both toolbars to share the same look & feel. Since there is not bottom toolbar option on the Mac, I end up with a Liquid Glass toolbar at the top and a regular toolbar at the bottom. In short, I'd like to control the layout and look of both toolbars and the built-in SwiftUI toolbar is not flexible enough for this.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’25
Comment on How to have clickable/tappable buttons where the toolbar is supposed to be?
Thanks. This still doesn't work in macOS. For the button to be flush to the top I still need the .ignoresSafeArea modifier, and then the button is not clickable like before. Even if it worked, I need it to work in macOS 15+, not just Tahoe, and safeAreaBar is only available in os26 and above.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’25