<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBarButtonItem/init(barButtonSystemItem:target:action:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIBarButtonItem(im)initWithBarButtonSystemItem:target:action:"
  },
  "title" : "init(barButtonSystemItem:target:action:)"
}
-->

# init(barButtonSystemItem:target:action:)

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

```
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 [`UIBarButtonItem.SystemItem`](/documentation/UIKit/UIBarButtonItem/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`](/documentation/UIKit/UIBarButtonItem).

## See Also

[`init(image:style:target:action:)`](/documentation/UIKit/UIBarButtonItem/init(image:style:target:action:))

Creates an item using the specified image, style, target, and action.

[`init(title:style:target:action:)`](/documentation/UIKit/UIBarButtonItem/init(title:style:target:action:))

Creates an item using the specified title, style, target, and action.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)