Contents

enterFullScreenMode(_:withOptions:)

Instructs the panel to enter full screen mode.

Declaration

func enterFullScreenMode(_ screen: NSScreen!, withOptions options: [AnyHashable : Any]! = [:]) -> Bool

Parameters

  • screen:

    This parameter isn’t currently used—pass nil.

  • options:

    This parameter isn’t currently used—pass nil.

Return Value

true if the panel was able to enter full screen mode; otherwise, false.

Discussion

If the panel isn’t onscreen, the panel goes directly to full screen mode.

The panel chooses the appropriate screen depending on where the panel is or, if entering fullscreen directly, where the panel zooms from.

See Also

Managing Full Screen Mode