---
title: image
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpbarbutton/image
---

# image

The image displayed on the bar button.

## Declaration

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

## Discussion

Discussion If you provide an animated image, the button displays only the first image in the animation sequence. Setting this property has an effect only when the button type is CPBarButton.Type.image.

## See Also

### Configuring the Button

- [isEnabled](carplay/cpbarbutton/isenabled.md)
- [title](carplay/cpbarbutton/title.md)
