---
title: didLaunchApplicationNotification
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsworkspace/didlaunchapplicationnotification
---

# didLaunchApplicationNotification

A notification that the workspace posts when a new app starts up.

## Declaration

```swift
class let didLaunchApplicationNotification: NSNotification.Name
```

## Discussion

Discussion The notification object is the shared NSWorkspace instance. The userInfo dictionary contains the applicationUserInfoKey key with a corresponding instance of NSRunningApplication that represents the affected app. The system doesn’t post this notification for background apps or for apps that have the LSUIElement key in their Info.plist file. If you want to know when all apps (including background apps) launch or terminate, use key-value observing to monitor the value that returns from the runningApplications method. important: To receive this notification, use notificationCenter to register for it. If you use a different notification center to register, you won’t receive the notification. To observe this notification using Swift concurrency, use NSWorkspace.DidLaunchApplicationMessage.

## See Also

### Responding to Environment Notifications

- [willLaunchApplicationNotification](appkit/nsworkspace/willlaunchapplicationnotification.md)
- [didTerminateApplicationNotification](appkit/nsworkspace/didterminateapplicationnotification.md)
- [sessionDidBecomeActiveNotification](appkit/nsworkspace/sessiondidbecomeactivenotification.md)
- [sessionDidResignActiveNotification](appkit/nsworkspace/sessiondidresignactivenotification.md)
- [didHideApplicationNotification](appkit/nsworkspace/didhideapplicationnotification.md)
- [didUnhideApplicationNotification](appkit/nsworkspace/didunhideapplicationnotification.md)
- [didActivateApplicationNotification](appkit/nsworkspace/didactivateapplicationnotification.md)
- [didDeactivateApplicationNotification](appkit/nsworkspace/diddeactivateapplicationnotification.md)
- [didRenameVolumeNotification](appkit/nsworkspace/didrenamevolumenotification.md)
- [didMountNotification](appkit/nsworkspace/didmountnotification.md)
- [willUnmountNotification](appkit/nsworkspace/willunmountnotification.md)
- [didUnmountNotification](appkit/nsworkspace/didunmountnotification.md)
- [didChangeFileLabelsNotification](appkit/nsworkspace/didchangefilelabelsnotification.md)
- [activeSpaceDidChangeNotification](appkit/nsworkspace/activespacedidchangenotification.md)
- [didWakeNotification](appkit/nsworkspace/didwakenotification.md)
