Returns metadata to display in the preview header of the share sheet.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
UIActivityobject requesting information about the item that the user wants to share.
LPLink object that contains the metadata about a URL, including its title, icon, images, and video.
Using the LinkPresentation framework, you can display rich previews of web links inside your app. For instance, if your app already has a database of links, with titles and images that weren’t fetched by
LPMetadata, you don’t have to fetch new metadata from the internet. Use this method instead and avoid downloading it again.