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

# automatic

Background will use the default for the platform.

## Declaration

```swift
static let automatic: PageIndexViewStyle.BackgroundDisplayMode
```

## See Also

### Getting the display modes

- [always](swiftui/pageindexviewstyle/backgrounddisplaymode/always.md)
- [interactive](swiftui/pageindexviewstyle/backgrounddisplaymode/interactive.md)
- [never](swiftui/pageindexviewstyle/backgrounddisplaymode/never.md)
