Contents

UIDocumentProperties

Information that UIKit uses to generate a document header for a navigation item’s title menu.

Declaration

@MainActor class UIDocumentProperties

Overview

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:

Topics

Creating a document header

Generating a document preview

Supporting drag and drop

Supporting sharing

Initializers

See Also

Customizing the title menu