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

accessibilityRemoveTraits

Removes the given accessibility traits from the view.

accessibilityRemoveTraits(traits)

ParameterTypeDescription
traitsAccessibilityTrait[]The accessibility traits to remove. isToggle and isTabBar require iOS 17+ and are ignored on older systems.

Removes the given accessibility traits from the view.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

You can add accessibilityRemoveTraits 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