<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/didChangeScreenNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSWindowDidChangeScreenNotification"
  },
  "title" : "didChangeScreenNotification"
}
-->

# didChangeScreenNotification

A notification that a portion of the window object’s frame moved onto or off of a screen.

```
class let didChangeScreenNotification: NSNotification.Name
```

## Discussion

The notification object is the `NSWindow` object that has changed screens. This notification doesn’t contain a `userInfo` dictionary.

To observe this notification using Swift concurrency, use [`NSWindow.DidChangeScreenMessage`](/documentation/AppKit/NSWindow/DidChangeScreenMessage).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)