Expo UI and Router for iOSExpo SDK 57 and later, iOS only
Modifiers

accessibilityInputLabels

Sets alternative spoken phrases that Voice Control uses to refer to the view. Each label is read as a Text element on iOS. For example, an "End" button might offer "Hang up" so users can trigger it by saying that phrase.

accessibilityInputLabels(inputLabels)

ParameterTypeDescription
inputLabelsstring[]The spoken phrases that select the view.

Sets alternative spoken phrases that Voice Control uses to refer to the view. Each label is read as a Text element on iOS. For example, an "End" button might offer "Hang up" so users can trigger it by saying that phrase.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

You can add accessibilityInputLabels to any view. It changes what you see on 39 of the 39 components.

Sources

The original Expo docs for this page:

On this page