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

## Parameters

- `stringsToDisambiguate`: An array of doc://com.apple.documentation/documentation/Foundation/NSString objects for the user to choose from.

## Return Value

Return Value A new INStringResolutionResult object.

## Discussion

Discussion Use this method to create a result object when there is more one value that might match the given parameter. The user is asked to select from among the strings you provide.

## See Also

### Creating a Resolution Result Object

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