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.