Instance Property


The image to use for the selection indicator.


var selectionIndicatorImage: UIImage? { get set }


Use this property to specify a custom selection image. Your image is rendered on top of the tab bar but behind the contents of the tab bar item itself. The default value of this property is nil, which causes the tab bar to apply a default highlight to the selected item.

See Also

Customizing Tab Bar Appearance

var barStyle: UIBarStyle

The tab bar style that specifies its appearance.

enum UIBarStyle

Defines the stylistic appearance of different types of views.

var isTranslucent: Bool

A Boolean value that indicates whether the tab bar is translucent.

var barTintColor: UIColor?

The tint color to apply to the tab bar background.

var tintColor: UIColor!

The tint color to apply to the tab bar items.

var unselectedItemTintColor: UIColor?

The tint color to apply to unselected tabs.

var backgroundImage: UIImage?

The custom background image for the tab bar.

var shadowImage: UIImage?

The shadow image to use for the tab bar.