---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/indatecomponentsresolutionresult/disambiguation(with:)"
---

# disambiguation(with:)

Creates an object whose resolution requires the user to select from among the specified objects.

## Declaration

```swift
class func disambiguation(with dateComponentsToDisambiguate: [DateComponents]) -> Self
```

## Parameters

- `dateComponentsToDisambiguate`: An array of dates from which to select. Specify as few items as possible, and preferably no more than five.

## Return Value

Return Value A new INDateComponentsResolutionResult object.

## Discussion

Discussion Use this method when you cannot resolve the object uniquely and need the user to select from a limited set of alternative dates.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/indatecomponentsresolutionresult/success(with:).md)
- [confirmationRequired(with:)](intents/indatecomponentsresolutionresult/confirmationrequired(with:).md)
