Contents

isHighlighted

A Boolean value that determines whether the image is highlighted.

Declaration

var isHighlighted: Bool { get set }

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