Instance Property


A custom view representing the item.


var customView: UIView? { get set }

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 style: UIBarButtonItem.Style

The style of the item.

var possibleTitles: Set<String>?

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

var width: CGFloat

The width of the item.