<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMenu/menuBarVisible()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMenu(cm)menuBarVisible"
  },
  "title" : "menuBarVisible()"
}
-->

# menuBarVisible()

Returns a Boolean value that indicates whether the menu bar is visible.

```
class func menuBarVisible() -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the menu bar is visible and selectable, otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## See Also

[`class func setMenuBarVisible(Bool)`](/documentation/AppKit/NSMenu/setMenuBarVisible(_:))

Sets whether the menu bar is visible and selectable by the user.



---

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)