automatic
TypeScriptstatic get automatic(): WindowToolbarFullScreenVisibilitySwift declarationstatic let automatic: WindowToolbarFullScreenVisibilityThe window toolbar visibility will be defined by the system default behavior.
struct · iOS 18.0+ · SDK 27.1
struct WindowToolbarFullScreenVisibilityThe 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) } }
static get automatic(): WindowToolbarFullScreenVisibilitySwift declarationstatic let automatic: WindowToolbarFullScreenVisibilityThe window toolbar visibility will be defined by the system default behavior.
No declarations were skipped in this snapshot.