One Logo Pool Ball
SwiftUI · IOS API REFERENCE

WindowToolbarFullScreenVisibility

struct · iOS 18.0+ · SDK 27.1

struct WindowToolbarFullScreenVisibility

The visibility of the window toolbar with respect to full screen mode. Use values of this type in conjunction with the ``View/windowToolbarFullScreenVisibility(_:)`` modifier to configure how the window toolbar displays itself when the window enters full screen mode. For example, you can specify that the window toolbar should be hidden by default, and only show when the mouse moves into the area occupied by the menu bar: struct RootView: View { var body: some View { ContentView() .toolbar { ... } .windowToolbarFullScreenVisibility(.onHover) } }

Members (1)

get · iOS 18.0+

automatic

TypeScript
static get automatic(): WindowToolbarFullScreenVisibility
Swift declaration
static let automatic: WindowToolbarFullScreenVisibility

The window toolbar visibility will be defined by the system default behavior.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →