didResignActiveNotification
Posted immediately after the app gives up its active status to another app.
Declaration
class let didResignActiveNotification: NSNotification.NameDiscussion
The notification object is NSApp. This notification doesn’t contain a userInfo dictionary. The system posts this notification on the main actor.
See Also
Notifications
didBecomeActiveNotificationdidChangeScreenParametersNotificationdidFinishLaunchingNotificationdidHideNotificationdidUnhideNotificationdidUpdateNotificationwillBecomeActiveNotificationwillFinishLaunchingNotificationwillHideNotificationwillResignActiveNotificationwillTerminateNotificationwillUnhideNotificationwillUpdateNotificationdidFinishRestoringWindowsNotificationdidChangeOcclusionStateNotification