<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/ImageReference/resolved(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels14ImageReferenceV8resolved2inAA10TranscriptV0C10AttachmentVSgx_tSTRzAG5EntryO7ElementRtzlF"
  },
  "title" : "resolved(in:)"
}
-->

# resolved(in:)

Returns the referenced image from the transcript.

```
func resolved(in transcript: some Sequence<Transcript.Entry>) -> Transcript.ImageAttachment?
```

## Parameters

`transcript`

The transcript to resolve the reference against.

## Return Value

The [`Transcript.ImageAttachment`](/documentation/FoundationModels/Transcript/ImageAttachment) for this reference, or `nil` if no
attachment with label [`attachmentLabel`](/documentation/FoundationModels/ImageReference/attachmentLabel) is found in the transcript.

## Discussion

If more than one attachment shares an [`attachmentLabel`](/documentation/FoundationModels/ImageReference/attachmentLabel), the attachment from the latest entry is returned.

---

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)