Instance Property

width

The width of the item.

Declaration

@property(nonatomic) CGFloat width;

Discussion

If this property value is positive, the width of the combined image and title are fixed. If the value is 0.0 or negative, the item sets the width of the combined image and title to fit. This property is ignored if the style uses radio mode. The default value is 0.0.

See Also

Getting and Setting Properties

target

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

action

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

style

The style of the item.

possibleTitles

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

customView

A custom view representing the item.