sessionDidBecomeActiveNotification
A notification that the workspace posts after a user session switches in.
Declaration
class let sessionDidBecomeActiveNotification: NSNotification.NameDiscussion
This notification allows an app to re-enable some processing, such as when a switched-out session switches back in.
The notification object is the shared NSWorkspace instance. The notification doesn’t contain a userInfo dictionary.
See Also
Responding to Environment Notifications
willLaunchApplicationNotificationdidLaunchApplicationNotificationdidTerminateApplicationNotificationsessionDidResignActiveNotificationdidHideApplicationNotificationdidUnhideApplicationNotificationdidActivateApplicationNotificationdidDeactivateApplicationNotificationdidRenameVolumeNotificationdidMountNotificationwillUnmountNotificationdidUnmountNotificationdidChangeFileLabelsNotificationactiveSpaceDidChangeNotificationdidWakeNotification