---
title: isHighlighted
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimageview/ishighlighted
---

# isHighlighted

A Boolean value that determines whether the image is highlighted.

## Declaration

```swift
var isHighlighted: Bool { get set }
```

## Discussion

Discussion This property determines whether the regular or highlighted images are used. When isHighlighted is set to true, a non-animated image will use the highlightedImage property and an animated image will use the highlightedAnimationImages. If both of those properties are set to nil or if isHighlighted is set to false, it will use the image and animationImages properties.

## See Also

### Configuring the image view

- [isUserInteractionEnabled](uikit/uiimageview/isuserinteractionenabled.md)
- [tintColor](uikit/uiimageview/tintcolor.md)
