Contents

windowDidChangeScreenProfile(_:)

Tells the delegate that the window has changed screen display profiles.

Declaration

@MainActor optional func windowDidChangeScreenProfile(_ notification: Notification)

Parameters

Discussion

You can retrieve the NSWindow object in question by sending object to notification.

If your app runs in macOS 10.7.3 or later, you should instead watch for the notification NSWindowDidChangeBackingPropertiesNotification.

See Also

Moving Windows