Contents

items

The items displayed on the toolbar.

Declaration

var items: [UIBarButtonItem]? { get set }

Discussion

The items, instances of UIBarButtonItem, that are visible on the toolbar in the order they appear in this array. Any changes to this property aren’t animated. Use the setItems(_:animated:) method to animate changes.

The default value is nil.

See Also

Configuring toolbar items