DefaultPickerStyle

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

StructureiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+DefaultPickerStyle in SwiftUI

Declaration

React
type DefaultPickerStyle = SwiftOpaque<'DefaultPickerStyle'>;
Swift
struct DefaultPickerStyle

Overview

You can also use PickerStyle.automatic to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.