<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.2.0",
    "iPadOS: 14.0.0 - 27.2.0",
    "macCatalyst: 14.0.0 - 27.2.0",
    "macOS: 11.0.0 - 27.2.0",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/FileDocumentReadConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI29FileDocumentReadConfigurationV"
  },
  "title" : "FileDocumentReadConfiguration"
}
-->

# FileDocumentReadConfiguration

The configuration for reading file contents.

```
struct FileDocumentReadConfiguration
```

## Topics

### Reading the content

[`let contentType: UTType`](/documentation/SwiftUI/FileDocumentReadConfiguration/contentType)

The expected uniform type of the file contents.

[`let file: FileWrapper`](/documentation/SwiftUI/FileDocumentReadConfiguration/file)

The file wrapper containing the document content.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)