A notification that the workspace posts when an app finishes executing.
- macOS 10.0+
The notification object is the shared
NSWorkspace instance. In macOS 10.6 and later, the
user dictionary contains the
NSWorkspace key with a corresponding instance of
NSRunning that represents the affected app.
In macOS 10.5 and earlier, the
user dictionary contains the keys and values described in Table 1.
The system does not post this notification for background apps or for apps that have the
LSUIElement key in their
Info file. If you want to know when all apps (including background apps) launch or terminate, use key-value observing to monitor the value returned by the