Contents

window(_:willUseFullScreenContentSize:)

Called to allow the delegate to modify the full-screen content size.

Declaration

@MainActor optional func window(_ window: NSWindow, willUseFullScreenContentSize proposedSize: NSSize) -> NSSize

Parameters

  • window:

    The window to enter to full-screen mode.

  • proposedSize:

    The proposed window size.

Return Value

The window size to use when displaying content size.

See Also

Managing Full-Screen Presentation