---
title: titleVariants
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpvoicecontrolstate/titlevariants
---

# titleVariants

The array of title variants for the voice control state.

## Declaration

```swift
var titleVariants: [String]? { get }
```

## Discussion

Discussion When creating a voice control state, arrange the titles from most to least preferred. The system displays the first title found in the array that best fits the available screen space. Also, localize each title for display to the user, and be sure to include at least one title in the array.

## See Also

### Getting State Information

- [identifier](carplay/cpvoicecontrolstate/identifier.md)
- [image](carplay/cpvoicecontrolstate/image.md)
- [repeats](carplay/cpvoicecontrolstate/repeats.md)
