Contents

didChangeScreenProfileNotification

A notification that the screen containing the window changed.

Declaration

class let didChangeScreenProfileNotification: NSNotification.Name

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.

See Also

Notifications