Instance Property


The width of the item.


@property(nonatomic) CGFloat width;


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


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


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


The style of the item.


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


A custom view representing the item.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software