Instance Property

target

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

Declaration

@property(nonatomic, weak) id target;

Discussion

If nil, the action message is passed up the responder chain where it may be handled by any object implementing a method corresponding to the selector held by the action property. The default value is nil.

See Also

Getting and Setting Properties

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.

width

The width of the item.

customView

A custom view representing the item.