Instance Method

exitFullScreenModeWithOptions:

Instructs the view to exit full screen mode.

Declaration

- (void)exitFullScreenModeWithOptions:(NSDictionary<NSViewFullScreenModeOptionKey, id> *)options;

Parameters

options

A dictionary of options for the mode. For possible keys, see Full Screen Mode Options.

Discussion

When the NSFullScreenModeApplicationPresentationOptions options is specified when enterFullScreenMode:withOptions: is invoked, exiting full screen mode will restore the previously active presentationOptions.

See Also

Fullscreen Mode

- enterFullScreenMode:withOptions:

Sets the view to full screen mode.

inFullScreenMode

A Boolean value indicating whether the view is in full screen mode.

NSViewFullScreenModeOptionKey

These constants are keys that you can use in the options dictionary in enterFullScreenMode:withOptions: and exitFullScreenModeWithOptions:.