Contents

selectionIndicatorTintColor

The tint color to apply to the selection indicator image.

Declaration

@NSCopying var selectionIndicatorTintColor: UIColor? { get set }

Discussion

UIKit combines the color in this property with the image in the selectionIndicatorImage to create the final appearance for the selected item. If you supplied a template image in selectionIndicatorImage, UIKit uses this color to tint that image. If selectionIndicatorImage is nil, UIKit provides a default selection indicator image that accepts your tint color. If this property is nil or contains a clear color, UIKit doesn’t display a selection indicator.

If the image you supplied in selectionIndicatorImage isn’t a template image, UIKit ignores the value in this property and displays your image as is.

The default value of this property is nil.

See Also

Specifying the selection appearance