---
title: "multiDateSelection(_:didSelectDate:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicalendarselectionmultidatedelegate/multidateselection(_:didselectdate:)"
---

# multiDateSelection(_:didSelectDate:)

Informs the delegate that a user selected a date represented by date components.

## Declaration

```swift
func multiDateSelection(_ selection: UICalendarSelectionMultiDate, didSelectDate dateComponents: DateComponents)
```

## Parameters

- `selection`: An object that tracks one or more dates that a user selects from a calendar view.
- `dateComponents`: Date components that represent a date the user selected.

## See Also

### Changing selected dates

- [multiDateSelection(_:didDeselectDate:)](uikit/uicalendarselectionmultidatedelegate/multidateselection(_:diddeselectdate:).md)
