Contents

DocumentReadConfiguration

The context SwiftUI passes to Reader(configuration:).

Declaration

struct DocumentReadConfiguration

Overview

Contains the contentType of the file being read (one of the document’s readableContentTypes). Use it to choose the correct deserialization strategy when a document supports multiple formats.

Access this type through the ReadableDocument.ReadConfiguration typealias.

Topics

Accessing read properties

See Also

Reading and writing documents