One Logo Pool Ball
SwiftUI · IOS API REFERENCE

FileDocumentWriteConfiguration

struct · iOS 14.0+ · Deprecated in iOS 100000.0 · SDK 27.1

struct FileDocumentWriteConfiguration

The configuration for serializing file contents.

Members (2)

get · iOS 14.0+ · Deprecated in iOS 100000.0

existingFile

TypeScript
get existingFile(): (_Foundation_FileWrapper) | null
Swift declaration
let existingFile: FileWrapper?

The file wrapper containing the current document content. `nil` if the document is unsaved.

get · iOS 14.0+ · Deprecated in iOS 100000.0

contentType

TypeScript
get contentType(): _UniformTypeIdentifiers_UTType
Swift declaration
let contentType: UTType

The expected uniform type of the file contents.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →