Initializer

init(_:selection:content:)

No overview available.

Declaration

init(_ titleKey: LocalizedStringKey, selection: Binding<SelectionValue>, @ViewBuilder content: () -> Content)
Available when Label is Text.

See Also

Creating a Picker

init(selection: Binding<SelectionValue>, label: Label, content: () -> Content)

Creates an instance that selects from content associated with Selection values.