Contents

sharesBackground

A boolean value indicating whether this bar button item can share a background with other items in a navigation bar or a toolbar.

Declaration

var sharesBackground: Bool { get set }

Discussion

When NO, This item will not be visually grouped with any other items.

This property is ignored if the item is in a UIBarButtonItemGroup with more than one item. The default value is YES.

See Also

Customizing placement in a toolbar