dateSelection(_:didSelectDate:)
Informs the delegate that a user selected a date represented by date components.
Declaration
func dateSelection(_ selection: UICalendarSelectionSingleDate, didSelectDate dateComponents: DateComponents?)Parameters
- selection:
An object that tracks a date that a user selects from a calendar view.
- dateComponents:
Date components that represent a date the user selected, or
nilif the user deselected a date.