Contents

selectedImage

The source image the item uses to generate its selected image.

Declaration

var selectedImage: UIImage? { get set }

Discussion

If nil, the item uses the value in image instead. The item creates the images it displays from the alpha values in its source images. To prevent system tinting, use images with the UIImage.RenderingMode.alwaysOriginal rendering mode. The item clips any image that’s larger than its bounds.

See Also

Configuring the item’s appearance