Contents

wheel

A picker style that presents the options in a scrollable wheel that shows the selected option and a few neighboring options.

Declaration

static var wheel: WheelPickerStyle { get }

Discussion

Because most options aren’t visible, organize them in a predictable order, such as alphabetically.

To apply this style to a picker, or to a view that contains pickers, use the pickerStyle(_:) modifier.

See Also

Getting built-in picker styles