<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/didHideApplicationNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSWorkspaceDidHideApplicationNotification"
  },
  "title" : "didHideApplicationNotification"
}
-->

# didHideApplicationNotification

A notification that the workspace posts when the Finder hides an app.

```
class let didHideApplicationNotification: NSNotification.Name
```

## Discussion

The notification object is the shared [`NSWorkspace`](/documentation/AppKit/NSWorkspace) instance. The `userInfo` dictionary contains the [`applicationUserInfoKey`](/documentation/AppKit/NSWorkspace/applicationUserInfoKey) key with a corresponding instance of [`NSRunningApplication`](/documentation/AppKit/NSRunningApplication) that represents the affected app.

> Important:
> To receive this notification, use ``doc://com.apple.appkit/documentation/AppKit/NSWorkspace/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.DidHideApplicationMessage`](/documentation/AppKit/NSWorkspace/DidHideApplicationMessage).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)