existingFile
TypeScriptget existingFile(): (_Foundation_FileWrapper) | nullSwift declarationlet existingFile: FileWrapper?The file wrapper containing the current document content. `nil` if the document is unsaved.
struct · iOS 14.0+ · Deprecated in iOS 100000.0 · SDK 27.1
struct FileDocumentWriteConfigurationThe configuration for serializing file contents.
get existingFile(): (_Foundation_FileWrapper) | nullSwift declarationlet existingFile: FileWrapper?The file wrapper containing the current document content. `nil` if the document is unsaved.
get contentType(): _UniformTypeIdentifiers_UTTypeSwift declarationlet contentType: UTTypeThe expected uniform type of the file contents.
No declarations were skipped in this snapshot.