---
title: automatic
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/toolbarminimizebehavior/automatic
---

# automatic

The system determines the minimize behavior. By default, navigation bars on iOS will minimize when the view has a searchable using the toolbarPrincipal placement.

## Declaration

```swift
static var automatic: ToolbarMinimizeBehavior { get }
```
