---
title: "fixedGroupWithRepresentativeItem:items:"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uibarbuttonitemgroup/fixedgroupwithrepresentativeitem:items:"
---

# fixedGroupWithRepresentativeItem:items:

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

## Declaration

```occ
+ (UIBarButtonItemGroup *) fixedGroupWithRepresentativeItem:(UIBarButtonItem *) representativeItem items:(NSArray<UIBarButtonItem *> *) items;
```

## Parameters

- `representativeItem`: The item to display for the group when space is constrained.
- `items`: The items to include in the group.

## See Also

### Creating a group

- [movableGroupWithCustomizationIdentifier:representativeItem:items:](uikit/uibarbuttonitemgroup/movablegroupwithcustomizationidentifier:representativeitem:items:.md)
- [optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items:](uikit/uibarbuttonitemgroup/optionalgroupwithcustomizationidentifier:indefaultcustomization:representativeitem:items:.md)
- [init(barButtonItems:representativeItem:)](uikit/uibarbuttonitemgroup/init(barbuttonitems:representativeitem:).md)
- [init(coder:)](uikit/uibarbuttonitemgroup/init(coder:).md)
