TabSearchActivation

Configures the activation behavior of search in the search tab.

StructureiOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+visionOS 26.0+TabSearchActivation in SwiftUI

Declaration

React
type TabSearchActivation = 'automatic' | 'searchTabSelection';
Swift
struct TabSearchActivation

Pass a literal, or build one with SwiftUI.TabSearchActivation from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Overview

You can configure this for a particular TabView by using the View.tabViewSearchActivation(_:) modifier.

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Navigation.