TechnologiesUI & App Frameworks

LinkPresentation

iOSmacOStvOSwatchOSvisionOS

LinkPresentation fetches and displays rich link metadata and preview views for URLs shared in your app. You use LPMetadataProvider to retrieve an LPLinkMetadata object describing a URL, and present it with an LPLinkView that renders the link's title, icon, and other details. When fetching fails, the framework reports the reason through an LPError value. It is available on iOS, macOS, tvOS, watchOS, and visionOS.

Link Metadata 2

Fetch and represent the rich metadata that describes a URL.

  • Cl
    LPMetadataProvideriOS 13.0+
    An object that retrieves metadata for a URL.
  • Cl
    LPLinkMetadataiOS 13.0+
    An object that contains metadata about a URL.

Presenting Links 1

Display a fetched link's title, icon, and preview in your interface.

  • Cl
    LPLinkViewiOS 13.0+
    A rich visual representation of a link.

Errors 1

Identify why fetching link metadata failed.

  • St
    LPErroriOS 13.0+
    A structure that describes an error that occurs while fetching a URL's metadata.

Structures 1

  • St
    LinkMetadataiOS 26.4+
    A structure containing metadata about a URL.
← UI & App Frameworks