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

# multiDateSelection(_:canDeselectDate:)

Returns whether a user can deselect a date represented by date components in the calendar view.

## Declaration

```swift
optional func multiDateSelection(_ selection: UICalendarSelectionMultiDate, canDeselectDate dateComponents: DateComponents) -> Bool
```

## 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 to deselect.

## Return Value

Return Value A Boolean value that indicates whether the calendar view can deselect the date you provide.

## See Also

### Getting selectable dates

- [multiDateSelection(_:canSelectDate:)](uikit/uicalendarselectionmultidatedelegate/multidateselection(_:canselectdate:).md)
