---
title: didChangeScreenProfileNotification
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nswindow/didchangescreenprofilenotification
---

# didChangeScreenProfileNotification

A notification that the screen containing the window changed.

## Declaration

```swift
class let didChangeScreenProfileNotification: NSNotification.Name
```

## Discussion

Discussion NSWindow sends this notification only if the value of displaysWhenScreenProfileChanges is true, and in the following situations: When most of the window moves to a screen whose profile is different from the previous screen When the ColorSync profile for the current screen changes The notification object is the NSWindow object whose profile changed. This notification doesn’t contain a userInfo dictionary. To observe this notification using Swift concurrency, use NSWindow.DidChangeScreenProfileMessage.

## See Also

### Notifications

- [didBecomeKeyNotification](appkit/nswindow/didbecomekeynotification.md)
- [didBecomeMainNotification](appkit/nswindow/didbecomemainnotification.md)
- [didChangeScreenNotification](appkit/nswindow/didchangescreennotification.md)
- [didDeminiaturizeNotification](appkit/nswindow/diddeminiaturizenotification.md)
- [didEndSheetNotification](appkit/nswindow/didendsheetnotification.md)
- [didEndLiveResizeNotification](appkit/nswindow/didendliveresizenotification.md)
- [didExposeNotification](appkit/nswindow/didexposenotification.md)
- [didMiniaturizeNotification](appkit/nswindow/didminiaturizenotification.md)
- [didMoveNotification](appkit/nswindow/didmovenotification.md)
- [didResignKeyNotification](appkit/nswindow/didresignkeynotification.md)
- [didResignMainNotification](appkit/nswindow/didresignmainnotification.md)
- [didResizeNotification](appkit/nswindow/didresizenotification.md)
- [didUpdateNotification](appkit/nswindow/didupdatenotification.md)
- [willBeginSheetNotification](appkit/nswindow/willbeginsheetnotification.md)
- [willCloseNotification](appkit/nswindow/willclosenotification.md)
