SegmentedPickerStyle

A picker style that presents the options in a segmented control.

StructureiOS 13.0+macOS 10.15+tvOS 13.0+SegmentedPickerStyle in SwiftUI

Declaration

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

Overview

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

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

See also

More in Styles.