<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AutomaticAssessmentConfiguration",
  "identifier" : "/documentation/AutomaticAssessmentConfiguration/AEAssessmentConfiguration/allowsMenuBar",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Automatic Assessment Configuration"
    ],
    "preciseIdentifier" : "c:objc(cs)AEAssessmentConfiguration(py)allowsMenuBar"
  },
  "title" : "allowsMenuBar"
}
-->

# allowsMenuBar

A Boolean value that indicates whether to allow the menu bar during an assessment.

```
var allowsMenuBar: Bool { get set }
```

## Discussion

An assessment session hides the menu bar by default, but you can allow it by setting [`allowsMenuBar`](/documentation/AutomaticAssessmentConfiguration/AEAssessmentConfiguration/allowsMenuBar) to `true` in the [`AEAssessmentConfiguration`](/documentation/AutomaticAssessmentConfiguration/AEAssessmentConfiguration) instance that you use to initialize a session.

---

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)