Instance Method

init

Initializes the bar button item to its default state.

Declaration

- (instancetype)init;

Return Value

An initialized bar button item or nil if the item could not be initialized.

See Also

Initializing an Item

- initWithBarButtonSystemItem:target:action:

Initializes a new item containing the specified system item.

- initWithCustomView:

Initializes a new item using the specified custom view.

- initWithImage:style:target:action:

Initializes a new item using the specified image and other properties.

- initWithTitle:style:target:action:

Initializes a new item using the specified title and other properties.

- initWithImage:landscapeImagePhone:style:target:action:

Initializes a new item using the specified images and other properties.