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

# automatic

Determine the behavior automatically based on the surrounding context.

## Declaration

```swift
static let automatic: TabBarMinimizeBehavior
```

## Discussion

Discussion The depends on the platform: On iOS, iPadOS, tvOS, and watchOS, the tab bar does not minimize. On visionOS, the tab bar minimizes when people look away from it. On macOS, the tab bar minimizes when the window has reduced space.
