Enumeration

NSApplicationPresentationOptions

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

Declaration

typedef enum NSApplicationPresentationOptions : NSUInteger {
    ...
} NSApplicationPresentationOptions;

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 NSInvalidArgumentException.

Topics

Presentation Options

NSApplicationPresentationDefault

This is the default presentation mode. The dock and menu bar are displayed, process switching is enabled, force quit is enabled, session termination is enabled, the hide menu is enabled, and the menu bar transparency is normal.

NSApplicationPresentationAutoHideDock

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

NSApplicationPresentationHideDock

The dock is entirely hidden and disabled.

NSApplicationPresentationAutoHideMenuBar

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

NSApplicationPresentationHideMenuBar

The menu bar is entirely hidden and disabled.

NSApplicationPresentationDisableAppleMenu

All Apple Menu items are disabled.

NSApplicationPresentationDisableProcessSwitching

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

NSApplicationPresentationDisableForceQuit

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

NSApplicationPresentationDisableSessionTermination

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.

NSApplicationPresentationDisableHideApplication

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

NSApplicationPresentationDisableMenuBarTransparency

The menu bar transparency appearance is disabled.

NSApplicationPresentationFullScreen

The app is in fullscreen mode.

NSApplicationPresentationAutoHideToolbar

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

NSApplicationPresentationDisableCursorLocationAssistance

The behavior that allows the user to shake the mouse to locate the cursor is disabled.

See Also

Managing the App's Appearance

appearance

The appearance associated with the app's windows.

effectiveAppearance

The appearance that AppKit uses to draw the app's interface.

currentSystemPresentationOptions

The set of app presentation options that are currently in effect for the system.

presentationOptions

The presentation options that should be in effect for the system when this app is active.