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
DateFormatterto be used to display the selectedDate. 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
vcto present the sheet or popover modally
sourceViewThe view containing the anchor rectangle for the popover.
modalPresentationStyleThe presentation style for modal view controllers, only work for phone. For other platform, the style is formSheet.
detentsThe array of heights where a sheet can rest.
-
Declaration
Swift
@MainActor public func calendarView(_ calendarView: FUICalendarView, didChangeSelections selections: [any FUIDateSelection]) -
Declaration
Swift
@MainActor public func calendarView(_ calendarView: FUICalendarView, didChangeTitleTo title: String)