One Logo Pool Ball
LinkPresentation · IOS API REFERENCE

LinkMetadata.Attachment

struct · iOS 26.4+ · SDK 27.1

nonisolated struct Attachment

Describes a kind of attachment to the metadata.

Members (3)

get · iOS 26.4+

icon

TypeScript
static get icon(): LinkMetadata_Attachment
Swift declaration
static var icon: LinkMetadata.Attachment { get }

The descriptor for an icon attachment. The corresponding media type must support the content type of the metadata's icon data.

get · iOS 26.4+

image

TypeScript
static get image(): LinkMetadata_Attachment
Swift declaration
static var image: LinkMetadata.Attachment { get }

The descriptor for an image attachment. The corresponding media type must support the content type of the metadata's image data.

get · iOS 26.4+

video

TypeScript
static get video(): LinkMetadata_Attachment
Swift declaration
static var video: LinkMetadata.Attachment { get }

The descriptor for a local video attachment. The corresponding media type must support the content type of the metadata's local video data.

Skipped declarations

No declarations were skipped in this snapshot.

All LinkPresentation types →