---
title: avoidHidingContent
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/searchpresentationtoolbarbehavior/avoidhidingcontent
---

# avoidHidingContent

The avoid hiding content behavior.

## Declaration

```swift
static var avoidHidingContent: SearchPresentationToolbarBehavior { get }
```

## Discussion

Discussion In iOS, this will avoid hiding content in the toolbar as it adapts to a search presentation. This has no effect on other platforms.

## See Also

### Getting toolbar behaviors

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