<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INMediaItemResolutionResult/disambiguation(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INMediaItemResolutionResult(cm)disambiguationWithMediaItemsToDisambiguate:"
  },
  "title" : "disambiguation(with:)"
}
-->

# disambiguation(with:)

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

```
class func disambiguation(with mediaItemsToDisambiguate: [INMediaItem]) -> Self
```

## Parameters

`mediaItemsToDisambiguate`

An array of [`INMediaItem`](/documentation/Intents/INMediaItem) objects for the user to choose from.

## Return Value

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

## Discussion

Use this method to create a result object when more than one media item matches the given information and you can’t definitively pick one. Ask the user to select from among the notes that you specify.

For each [`INMediaItem`](/documentation/Intents/INMediaItem) object that you provide, include enough information to be able to locate the media item later. When the user selects one of the destinations, SiriKit puts the details from your [`INMediaItem`](/documentation/Intents/INMediaItem) object into the intent and asks you to resolve the media item 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)