FUIDateRangePickerModalViewController

@MainActor
public class FUIDateRangePickerModalViewController : UIViewController, FUICalendarViewDelegate

Undocumented

  • The start date of the calendar. Default is current year’s first day.

    Declaration

    Swift

    @MainActor
    public var minimumDate: Date?
  • The end date of the calendar. Default is next year’s last day.

    Declaration

    Swift

    @MainActor
    public var maximumDate: Date?
  • Undocumented

    Declaration

    Swift

    @MainActor
    public private(set) lazy var calendarView: FUICalendarView { get set }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public var didChangeSelectionsHandler: ((FUIDateRange?) -> Void)?
  • Undocumented

    Declaration

    Swift

    @MainActor
    public var dateRange: FUIDateRange? { get set }
  • The DateFormatter to be used to display the selected Date. Default formatter: “MM/dd/YYYY”

    Declaration

    Swift

    @MainActor
    public var dateFormatter: DateFormatter?
  • The ID of the language to be used when displaying the FUICalendarView.

    The default value for this property is ‘nil’. The current device language will be used if this property is ‘nil’ or if the language ID is not supported by SAPFiori.

    Declaration

    Swift

    @MainActor
    public var customLanguageID: String?
  • Undocumented

    Declaration

    Swift

    @MainActor
    public override func viewDidLoad()
  • Undocumented

    Declaration

    Swift

    @MainActor
    public override func viewDidLayoutSubviews()
  • Undocumented

    Declaration

    Swift

    @MainActor
    public var dismissCompletion: (() -> Void)?
  • Undocumented

    Declaration

    Swift

    @MainActor
    public override func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)
  • On iPhone, the calendar view is shown as a form sheet. On iPad, the calendar view is shown as a Pop Over.

    Declaration

    Swift

    @MainActor
    public func show(on vc: UIViewController?, sourceView: UIView?, modalPresentationStyle: UIModalPresentationStyle = .pageSheet, detents: [UISheetPresentationController.Detent] = [.large()])

    Parameters

    vc

    to present the sheet or popover modally

    sourceView

    The view containing the anchor rectangle for the popover.

    modalPresentationStyle

    The presentation style for modal view controllers, only work for phone. For other platform, the style is formSheet.

    detents

    The array of heights where a sheet can rest.