---
title: image
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibaritem/image
---

# image

The image used to represent the item.

## Declaration

```swift
var image: UIImage? { get set }
```

## Discussion

Discussion This image can be used to create other images to represent this item on the bar—for example, a selected and unselected image may be derived from this image. You should set this property before adding the item to a bar. The default value is nil.

## See Also

### Getting and setting properties

- [title](uikit/uibaritem/title.md)
- [landscapeImagePhone](uikit/uibaritem/landscapeimagephone.md)
- [largeContentSizeImage](uikit/uibaritem/largecontentsizeimage.md)
- [imageInsets](uikit/uibaritem/imageinsets.md)
- [landscapeImagePhoneInsets](uikit/uibaritem/landscapeimagephoneinsets.md)
- [largeContentSizeImageInsets](uikit/uibaritem/largecontentsizeimageinsets.md)
- [isEnabled](uikit/uibaritem/isenabled.md)
- [tag](uikit/uibaritem/tag.md)
