<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/menuBarOwningApplication",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWorkspace(py)menuBarOwningApplication"
  },
  "title" : "menuBarOwningApplication"
}
-->

# menuBarOwningApplication

Returns the app that owns the currently displayed menu bar.

```
var menuBarOwningApplication: NSRunningApplication? { get }
```

## Discussion

This property contains the running app instance for the app that owns the displayed menu bar. This value is key-value observing compliant.

---

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)