---
title: "init(image:landscapeImagePhone:style:target:action:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uibarbuttonitem/init(image:landscapeimagephone:style:target:action:)"
---

# init(image:landscapeImagePhone:style:target:action:)

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

## Declaration

```swift
convenience init(image: UIImage?, landscapeImagePhone: UIImage?, style: UIBarButtonItem.Style, target: Any?, action: Selector?)
```

## Parameters

- `image`: The item’s image. If nil, an image doesn’t appear.
- `landscapeImagePhone`: The image to use for the item in landscape bars in the doc://com.apple.uikit/documentation/UIKit/UIUserInterfaceIdiom/phone idiom.
- `style`: The style of the item. For possible values, see doc://com.apple.uikit/documentation/UIKit/UIBarButtonItem/Style-swift.enum.
- `target`: The object that receives the action message.
- `action`: The action to send to target when a person selects this item.

## Return Value

Return Value A newly initialized UIBarButtonItem.

## See Also

### Creating items of a specific style

- [init(title:style:target:action:)](uikit/uibarbuttonitem/init(title:style:target:action:).md)
- [init(image:style:target:action:)](uikit/uibarbuttonitem/init(image:style:target:action:).md)
