windowToolbar
The placement for the containing window’s toolbar, sometimes referred to as the titlebar.
Declaration
static var windowToolbar: ToolbarPlacement { get }Discussion
When hidden using toolbar(_:for:), this hides the entire window toolbar, including the title and “traffic light” window controls. To remove the custom toolbar item content only, use automatic.
Use toolbarBackground(_:for:) to hide the background of the window toolbar.