Tells the delegate that the window backing properties changed.
- macOS 10.7+
A notification named
Did Change Backing Properties Notification
You can retrieve the
NSWindow object in question by sending
NSWindow is posted in macOS 10.7.3 or later when a window’s backing scale factor or its color space changes. You should watch for this notification instead of
NSWindow if your app runs on a system version on which the backing properties notification is available.
Many apps won’t have the need to watch for this notification, but those that perform sophisticated color handling or manually manage their own cache of window-resolution or color-space-appropriate bitmapped images will find this notification useful as a prompt to invalidate caches or schedule other reassessment for the new resolution or color space. The notification’s
user dictionary specifies the window’s previous backing scale factor (retrieved with the key
NSBacking) and color space (retrieved with the key
NSBacking). You can compare these with the window’s new previous backing scale factor and color space at the time of the notification to determine which properties changed.