Instance Property


The image displayed when the tab bar item is selected.


var selectedImage: UIImage? { get set }


If nil, the value from the image property on the superclass, UIBarItem, is used as both the unselected and selected image.

By default, the actual selected image is automatically created from the alpha values in the source image. To prevent system coloring, provide images with UIImage.RenderingMode.alwaysOriginal.

See Also

Customizing Appearance

var titlePositionAdjustment: UIOffset

The offset to use to adjust the title position.

struct UIOffset

Defines a structure that specifies an amount to offset a position.