Configures the activation behavior of search in the search tab.
You can configure this for a particular ``TabView`` by using the
``View/tabViewSearchActivation(_:)`` modifier.
Members (2)
get · iOS 26.0+
searchTabSelection
TypeScript
static get searchTabSelection(): TabSearchActivation
Swift declaration
static var searchTabSelection: TabSearchActivation { get }
Links the search tab's selection to search activation.
When the search tab is selected, search will activate. When the user
dismisses search, the search tab will be deselected and the previously
selected tab will be reselected.
get · iOS 26.0+
automatic
TypeScript
static get automatic(): TabSearchActivation
Swift declaration
static var automatic: TabSearchActivation { get }
The default search activation behavior.
By default, search will only activate when the user interacts with the
search field. Dismissing search has no other effects.