View
fileprivate extension View
-
Called to create our custom picker.
Declaration
Swift
@MainActor func _adaptivePickerPresentation(isPresented inIsPresented: Binding<Bool>, selectedDate inSelectedDate: Binding<Date>) -> some ViewParameters
inIsPresentedTrue, if we are presenting the date picker sheet/popover
inSelectedDateThe date being show/changed
Return Value
The custom date picker view
View on GitHub