<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBarButtonItemGroup/fixedGroup(representativeItem:items:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So20UIBarButtonItemGroupC5UIKitE05fixedD0014representativeC05itemsABSo0abC0CSg_SayAHGtFZ"
  },
  "title" : "fixedGroup(representativeItem:items:)"
}
-->

# fixedGroup(representativeItem:items:)

Creates a fixed group that a person can’t move or remove from the navigation bar during layout customization.

```
@MainActor @preconcurrency class func fixedGroup(representativeItem: UIBarButtonItem? = nil, items: [UIBarButtonItem]) -> UIBarButtonItemGroup
```

## Parameters

`representativeItem`

The item to display for the group when space is constrained.

`items`

The items to include in the group.

---

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)