readableContentTypes
The file and data types that the document reads from.
Declaration
static var readableContentTypes: [UTType] { get }Discussion
Define this list to indicate the content types that your document can read. By default, SwiftUI assumes that your document can also write the same set of content types. If you need to indicate a different set of types for writing files, define the writableContentTypes property in addition to this property.