---
title: searchTabSelection
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/tabsearchactivation/searchtabselection
---

# searchTabSelection

Links the search tab’s selection to search activation.

## Declaration

```swift
static var searchTabSelection: TabSearchActivation { get }
```

## Discussion

Discussion 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.
