Instance Property

style

The style of the item.

Declaration

var style: UIBarButtonItem.Style { get set }

Discussion

One of the constants defined in UIBarButtonItem.Style. The default value is UIBarButtonItem.Style.plain.

See Also

Getting and Setting Properties

var target: AnyObject?

The object that receives an action when the item is selected.

var action: Selector?

The selector defining the action message to send to the target object when the user taps this bar button item.

var possibleTitles: Set<String>?

The set of possible titles to display on the bar button.

var width: CGFloat

The width of the item.

var customView: UIView?

A custom view representing the item.