Contents

movableGroup(customizationIdentifier:representativeItem:items:)

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

Declaration

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

Parameters

  • customizationIdentifier:

    A unique string to identify the group for navigation bar layout customization.

  • 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