window(_:willUseFullScreenPresentationOptions:)
Returns the presentation options the window uses when transitioning to full-screen mode.
Declaration
@MainActor optional func window(_ window: NSWindow, willUseFullScreenPresentationOptions proposedOptions: NSApplication.PresentationOptions = []) -> NSApplication.PresentationOptionsParameters
- window:
The window to enter to full-screen mode.
- proposedOptions:
The proposed options. See Presentationoptions Swift.struct for the possible values.
Return Value
The options the window should use when transitioning to full-screen mode. These may be the same as the proposedOptions or may be modified.