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

# automatic

The default picker style, based on the picker’s context.

## Declaration

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

## Discussion

Discussion How a picker using the default picker style appears largely depends on the platform and the view type in which it appears. For example, in a standard view, the default picker styles by platform are: On iOS and watchOS the default is a wheel. On macOS, the default is a pop-up button. On tvOS, the default is a segmented control. The default picker style may also take into account other factors — like whether the picker appears in a container view — when setting the appearance of a picker. You can override a picker’s style. To apply the default style to a picker, or to a view that contains pickers, use the pickerStyle(_:) modifier.

## See Also

### Getting built-in picker styles

- [inline](swiftui/pickerstyle/inline.md)
- [menu](swiftui/pickerstyle/menu.md)
- [navigationLink](swiftui/pickerstyle/navigationlink.md)
- [palette](swiftui/pickerstyle/palette.md)
- [radioGroup](swiftui/pickerstyle/radiogroup.md)
- [segmented](swiftui/pickerstyle/segmented.md)
- [tabs](swiftui/pickerstyle/tabs.md)
- [wheel](swiftui/pickerstyle/wheel.md)
