<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INURLResolutionResult/disambiguation(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INURLResolutionResult(cm)disambiguationWithURLsToDisambiguate:"
  },
  "title" : "disambiguation(with:)"
}
-->

# disambiguation(with:)

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

```
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

A new [`INURLResolutionResult`](/documentation/Intents/INURLResolutionResult) object.

## 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 <doc://com.apple.documentation/documentation/Foundation/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 <doc://com.apple.documentation/documentation/Foundation/NSURL> object into the intent and asks you to resolve the intent again.

---

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)