Instance Property


The bar button items to display on the shortcuts bar.


var barButtonItems: [UIBarButtonItem] { get set }


You may include any number of bar button items in a group, but you should keep the total number of items relatively small because of space considerations. The items in a group are typically related to each other, but need not be. The array must contain at least one item.

Items can belong to only one group at a time. If you specify an item that is already in a group, UIKit removes the item from its previous group before assigning it to the current group.

See Also

Configuring the Group

var representativeItem: UIBarButtonItem?

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