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

## Parameters

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

## Return Value

Return Value A new INURLResolutionResult object.

## Discussion

Discussion Use this method to create a result object when more than one URL matches the given information and you can’t pick one definitively. Ask the user to select from among the notes that you specify. For each NSURL object that you provide, include enough information to be able to locate the URL again later. When the user selects one of the URLs, SiriKit puts the details from your NSURL object into the intent and asks you to resolve the intent again.

## See Also

### Creating a Resolution Result

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