Structure

NSApplicationPresentationOptions

Constants that control the presentation of the app, typically for fullscreen apps such as games or kiosks.

Overview

There are restrictions on the combination of presentation options that can be set simultaneously:

When NSApplication receives a parameter value that does not conform to these requirements, it raises an invalidArgumentException.

Symbols

Constants

static var autoHideDock: NSApplicationPresentationOptions

The dock is normally hidden, but automatically appears when moused near.

static var hideDock: NSApplicationPresentationOptions

The dock is entirely hidden and disabled.

static var autoHideMenuBar: NSApplicationPresentationOptions

The menu bar is normally hidden, but automatically appears when moused near.

static var hideMenuBar: NSApplicationPresentationOptions

The menu bar is entirely hidden and disabled.

static var disableProcessSwitching: NSApplicationPresentationOptions

The process switching user interface (Command + Tab to cycle through apps) is disabled.

static var disableForceQuit: NSApplicationPresentationOptions

The force quit panel (displayed by pressing Command + Option + Esc) is disabled

static var disableSessionTermination: NSApplicationPresentationOptions

The panel that shows the Restart, Shut Down, and Log Out options that are displayed as a result of pushing the power key is disabled.

static var disableHideApplication: NSApplicationPresentationOptions

The app’s “Hide” menu item is disabled.

static var disableMenuBarTransparency: NSApplicationPresentationOptions

The menu bar transparency appearance is disabled.

static var autoHideToolbar: NSApplicationPresentationOptions

When in fullscreen mode the window toolbar is detached from window and hides and shows with autoHidden menuBar.

Relationships

Conforms To