<!--
{
  "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/successes(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INMediaItemResolutionResult(cm)successesWithResolvedMediaItems:"
  },
  "title" : "successes(with:)"
}
-->

# successes(with:)

Creates an array of results that contains the media items that match the user’s request.

```
class func successes(with resolvedMediaItems: [INMediaItem]) -> [INMediaItemResolutionResult]
```

## Parameters

`resolvedMediaItems`

An array of [`INMediaItem`](/documentation/Intents/INMediaItem) objects that resolve the user’s request. These values may be different than the one specified in the intent object.

## Return Value

The array of [`INMediaItemResolutionResult`](/documentation/Intents/INMediaItemResolutionResult) objects.

## Discussion

Use this method to create results when your app successfully identifies multiple media items to fulfill the same intent. After the first item in the list, any media item suggestions display as alternatives, but only on iOS. For cases where there are no potential alternatives, use [`success(with:)`](/documentation/Intents/INMediaItemResolutionResult/success(with:)).

---

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)