Instance Property

tintColor

The tint color to apply to the tab bar items.

Declaration

var tintColor: UIColor! { get set }

Discussion

Assigning a value to this property applies the specified color only to the tab bar’s items. Even if you do not specify a color, the tab bar may tint items using the tint color of one of its ancestor views. For information on how tinting colors are applied to views in a view hierarchy, see the description of the tintColor property in UIView.

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 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.

var selectionIndicatorImage: UIImage?

The image to use for the selection indicator.