Instance Property


The highlighted image displayed in the image view.


var highlightedImage: UIImage? { get set }


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

Accessing the Displayed Images

var image: UIImage?

The image displayed in the image view.