Contents

metadata

The document’s metadata.

Declaration

@NSCopying var metadata: LPLinkMetadata { get set }

Discussion

If you initialize the document properties object using init(url:), UIKit generates this metadata automatically. Typically, you don’t need to access the value of this property directly because UIKit updates the metadata asynchronously to display the latest information in the document header.

If you initialize the document properties object using init(metadata:), you can use this property to manually set metadata if it requires an update.

See Also

Creating a document header