Contents

hidesSharedBackground

A boolean value indicating whether the background this item may share with other items in the bar should be hidden.

Declaration

var hidesSharedBackground: Bool { get set }

Discussion

Set this property to YES to prevent the standard shared background (typically using the Glass effect) from being drawn behind this bar button item.

This item will not be visually grouped with any other items, without the standard shared background. This property is ignored if the item is in a UIBarButtonItemGroup with more than one item. The default value is NO.

See Also

Customizing placement in a toolbar