---
title: "windowWillExitFullScreen(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nswindowdelegate/windowwillexitfullscreen(_:)"
---

# windowWillExitFullScreen(_:)

The window is about to exit full-screen mode.

## Declaration

```swift
@MainActor optional func windowWillExitFullScreen(_ notification: Notification)
```

## Parameters

- `notification`: A notification named doc://com.apple.appkit/documentation/AppKit/NSWindow/willExitFullScreenNotification.

## See Also

### Managing Full-Screen Presentation

- [window(_:willUseFullScreenContentSize:)](appkit/nswindowdelegate/window(_:willusefullscreencontentsize:).md)
- [window(_:willUseFullScreenPresentationOptions:)](appkit/nswindowdelegate/window(_:willusefullscreenpresentationoptions:).md)
- [windowWillEnterFullScreen(_:)](appkit/nswindowdelegate/windowwillenterfullscreen(_:).md)
- [windowDidEnterFullScreen(_:)](appkit/nswindowdelegate/windowdidenterfullscreen(_:).md)
- [windowDidExitFullScreen(_:)](appkit/nswindowdelegate/windowdidexitfullscreen(_:).md)
