SwiftUI Toolbar

Any reason the .toolbar modifier doesn't work in macOS 11 beta? Is there some global setting required in the app to enable this as no toolbar is being shown at all.

Replies

I have it working in macOS 11 beta. I admit that it took some time for me to find the correct location to apply the .toolbar modifier though.

It needs to be applied as a modifier to a View that is contained within a NavigationView.
  • That solved my problem.

Add a Comment