Generic Initializer

init(_:selection:displayedComponents:)

No overview available.

Declaration

init<S>(_ title: S, selection: Binding<Date>, displayedComponents: DatePicker<Label>.Components = [.hourAndMinute, .date]) where S : StringProtocol
Available when Label is Text.

See Also

Creating a Date Picker