---
title: SearchPresentationToolbarBehavior
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/searchpresentationtoolbarbehavior
---

# SearchPresentationToolbarBehavior

A type that defines how the toolbar behaves when presenting search.

## Declaration

```swift
struct SearchPresentationToolbarBehavior
```

## Overview

Overview Use this type in combination with the searchPresentationToolbarBehavior(_:)

## Topics

### Getting toolbar behaviors

- [automatic](swiftui/searchpresentationtoolbarbehavior/automatic.md)
- [avoidHidingContent](swiftui/searchpresentationtoolbarbehavior/avoidhidingcontent.md)

## See Also

### Displaying toolbar content during search

- [searchPresentationToolbarBehavior(_:)](swiftui/view/searchpresentationtoolbarbehavior(_:).md)
