fileType
The name of the document type, as specified in the app’s information property-list file.
Declaration
nonisolated var fileType: String? { get set }Discussion
The document type affects how the data is filtered when it is written to or read from a file. When a document is saved, the type is determined by the entries in the app’s information property list (specified in Info.plist).
You cannot use this property to change the document’s format after it has already been opened or saved. This property records only the initial document format used when first opening or saving the file.