UIDocumentProperties
Information that UIKit uses to generate a document header for a navigation item’s title menu.
Declaration
@MainActor class UIDocumentPropertiesOverview
Assign a UIDocumentProperties object to your navigation item’s documentProperties property. UIKit uses this object to display a document header at the top of the title menu, which appears when a person taps the navigation item’s title. The document header displays information about the current document, such as its title, file type, and size.
[Image]
Additionally, you can configure a set of sharing capabilities that allow people to share or drag and drop the document content from the document header:
Set an activityViewControllerProvider to show the Share button.
Set a dragItemsProvider to allow people to drag and drop the document by dragging the preview icon.