---
title: highlightedImage
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimageview/highlightedimage
---

# highlightedImage

The highlighted image displayed in the image view.

## Declaration

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

## Discussion

Discussion The image in this property is displayed when the image view’s isHighlighted property is true. If the highlightedAnimationImages property contains a valid set of images, those image are used instead. This property is set to the image (if any) you specified at initialization time. If you did not use the init(image:highlightedImage:) method to initialize your image view, the initial value of this property is nil.

## See Also

### Related Documentation

- [highlightedAnimationImages](uikit/uiimageview/highlightedanimationimages.md)

### Accessing the displayed images

- [image](uikit/uiimageview/image.md)
