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