<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AutomaticAssessmentConfiguration",
  "identifier" : "/documentation/AutomaticAssessmentConfiguration/AEMenuBarItem/menuBarExtra(bundleIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Automatic Assessment Configuration",
      "AutomaticAssessmentConfiguration"
    ],
    "preciseIdentifier" : "s:So13AEMenuBarItema32AutomaticAssessmentConfigurationE04menuB5Extra16bundleIdentifierABSS_tFZ"
  },
  "title" : "menuBarExtra(bundleIdentifier:)"
}
-->

# menuBarExtra(bundleIdentifier:)

Creates a menu bar extra item representing a custom menu extra.

```
static func menuBarExtra(bundleIdentifier: String) -> AEMenuBarItem
```

## Parameters

`bundleIdentifier`

The bundle identifier of the menu bar extra

## Return Value

A new menu bar item instance

---

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)