<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PickerStyle/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI11PickerStylePA2A07DefaultcD0VRszrlE9automaticAEvpZ"
  },
  "title" : "automatic"
}
-->

# automatic

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

```
@export(implementation) static var automatic: DefaultPickerStyle { get }
```

## 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(_:)`](/documentation/SwiftUI/View/pickerStyle(_:)) modifier.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)