Contents

creatingFixedGroup()

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

Declaration

func creatingFixedGroup() -> UIBarButtonItemGroup

Return Value

A UIBarButtonItemGroup that contains only this bar button item.

Discussion

A bar button item can only belong to one UIBarButtonItemGroup. If you add a bar button item to a new group, the system removes it from its previous group.

See Also

Creating groups