Instance Property

titleVariants

The array of title variants for the voice control state.

Declaration

var titleVariants: [String]? { get }

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

var identifier: String

The string that your app uses to identify the voice control state.

var image: UIImage?

The image displayed while the voice control template is in this state.

var repeats: Bool

A Boolean value that indicates whether the display of an animated image repeats the animation sequence indefinitely.