Contents

init(barButtonSystemItem:target:action:)

Creates an item using the specified system item, target, and action.

Declaration

convenience init(barButtonSystemItem systemItem: UIBarButtonItem.SystemItem, target: Any?, action: Selector?)

Parameters

  • systemItem:

    The system item to use as the first item on the bar. For possible values, see Systemitem.

  • target:

    The object that receives the action message.

  • action:

    The action to send to target when a person selects this item.

Return Value

A newly initialized UIBarButtonItem.

See Also

Related Documentation

Creating system items