---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/indatecomponentsrangeresolutionresult/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 dateComponentsRangesToDisambiguate: [INDateComponentsRange]) -> Self
```

## Parameters

- `dateComponentsRangesToDisambiguate`: An array of date ranges from which the user should select. Specify as few items as possible, and preferably no more than five.

## Return Value

Return Value A new INDateComponentsRangeResolutionResult object.

## Discussion

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

## See Also

### Creating a Resolution Result Object

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