[quote='839309022, DTS Engineer, /thread/784248?answerId=839309022#839309022']
We suggest using native UI elements
[/quote]
Are you suggesting that I forgo using SwiftUI's TabView and instead use NSTabView from AppKit? I'm currently using NSTabViewController but was hoping to reduce my dependencies on AppKit and adopt SwiftUI as much as possible.
We suggest using native UI elements, but you could hide the Toolbar with .toolbar(.hidden).
That seems to hide the window's toolbar. I'm trying to hide the tab bar as presented by TabView on macOS, which I presume is using NSTabView. As noted above, NSTabViewController allows you to hide the tab bar and NSTabView itself offers NSTabPosition.None.
However, I'm unable to configure those withTabView and thus, on macOS, I'm left with the default "Aqua-style" tab bar, which I don't want.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: