Instance Property

selectionIndicatorImage

The image to draw for the selected item.

Declaration

var selectionIndicatorImage: UIImage? { get set }

Discussion

UIKit renders the image in this property above the tab bar, but behind the tab bar item. If you specify a template or symbol image, UIKit renders that image with the tint color from the selectionIndicatorTintColor property. If you specify any other type of image, UIKit displays your image without any additional tinting.

The default value of this property is nil, which causes UIKit to provide a default selection image.

See Also

Specifying the Selection Appearance

var selectionIndicatorTintColor: UIColor?

The tint color to apply to the selection indicator image.