---
title: selectedImage
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitabbaritem/selectedimage
---

# selectedImage

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

## Declaration

```swift
var selectedImage: UIImage? { get set }
```

## Discussion

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

- [standardAppearance](uikit/uitabbaritem/standardappearance.md)
- [scrollEdgeAppearance](uikit/uitabbaritem/scrolledgeappearance.md)
- [titlePositionAdjustment](uikit/uitabbaritem/titlepositionadjustment.md)
