Framework

LinkPresentation

Fetch, provide, and present rich links in your app.

Overview

The Link Presentation framework enables you to present content-rich URLs in a consistent way. Retrieve metadata from a URL, present the rich link content inside your app, and provide link metadata to the share sheet experience in iOS.

Diagram showing how an LPLinkView presents a map URL with an image of the map on top, and the name and address of the location underneath.

For more information about presenting links, see WWDC 2019 session 262: Embedding and Sharing Visually Rich Links.

Topics

Link Metadata

class LPMetadataProvider

An object that retrieves metadata for a URL.

class LPLinkMetadata

An object that contains metadata about a URL.

Rich Links

class LPLinkView

A rich visual representation of a link.

Errors

struct LPError

An error returned by the LinkPresentation framework.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software