LinkMetadata
A structure containing metadata about a URL.
Declaration
nonisolated struct LinkMetadataOverview
Use LinkMetadata to store metadata about a URL, including its title, icon, images, and video.
Fetch metadata using LPMetadataProvider. For remote URLs, cache the metadata locally to avoid the data and performance cost of fetching it from the internet every time you present it. LinkMetadata is also serializable and conforms to Codable.
Topics
Structures
Initializers
init(_:)init(fetching:timeout:includeSubresources:)init(fetching:timeout:includeSubresources:)init(url:)