View

fileprivate extension View
  • Called to create our custom picker.

    Declaration

    Swift

    @MainActor
    func _adaptivePickerPresentation(isPresented inIsPresented: Binding<Bool>, selectedDate inSelectedDate: Binding<Date>) -> some View

    Parameters

    inIsPresented

    True, if we are presenting the date picker sheet/popover

    inSelectedDate

    The date being show/changed

    Return Value

    The custom date picker view