Skip to main content

All Questions

0 votes
1 answer
286 views

Mac Catalyst toolbar increases in height with .principal placement

I am developing a SwiftUI Mac Catalyst app with a simple NavigationView and a toolbar. As soon as I give my toolbarItem the .principal placement the toolbar increases in height (nearly doubles). In ...
printDavid's user avatar
0 votes
1 answer
2k views

Multiple NavigationViews in SwiftUI - How to get rid of multiple toolbar items (i.e the back-button on the left corner)?

I am making an app where the first view the users see is a home screen with buttons that takes them to a second view. One of the second views present the user with a list of items. When the user ...
Alexander Johansson's user avatar
3 votes
1 answer
3k views

SwiftUI Toolbar In a TabBar View

My first view has a NavigationView with a Tab Bar View struct TestView: View { var body: some View { NavigationView { TabTestView() } } } In the Tab Bar, I have ...
bridgenbarbu's user avatar
9 votes
1 answer
2k views

SwiftUI macOS toolbar icons alignment for three column layout

Following this question, how to add a toolbar divider for a three column view in swiftUI life cycle , I have a slightly different issue. I am trying to achive the same thing but the second and third ...
horace1921's user avatar
5 votes
1 answer
3k views

how to add a toolbar divider for a three column view in swiftUI life cycle

I am looking for a way to achieve a Toolbar for a three column layout like Mail.app. Also the Notes.app uses almost the same Toolbar with the only important difference between the two apps being that ...
Enie's user avatar
  • 699