<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICalendarSelectionMultiDateDelegate/multiDateSelection(_:canSelectDate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UICalendarSelectionMultiDateDelegate(im)multiDateSelection:canSelectDate:"
  },
  "title" : "multiDateSelection(_:canSelectDate:)"
}
-->

# multiDateSelection(_:canSelectDate:)

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

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

## Parameters

`selection`

An object that tracks multiple dates that a user selects from a calendar view.

`dateComponents`

Date components that represent a date to select.

## Return Value

A Boolean value that indicates whether the calendar view can select the date you provide.

## Discussion

The calendar view displays non-selectable dates as disabled.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)