<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/fileDialogImportsUnresolvedAliases(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE34fileDialogImportsUnresolvedAliasesyQrSbF"
  },
  "title" : "fileDialogImportsUnresolvedAliases(_:)"
}
-->

# fileDialogImportsUnresolvedAliases(_:)

On macOS, configures the `fileExporter`, `fileImporter`,
or `fileMover` behavior when a user chooses an alias.

```
nonisolated func fileDialogImportsUnresolvedAliases(_ imports: Bool) -> some View
```

## Parameters

`imports`

A Boolean value that indicates
if the application receives unresolved or resolved URLs
when a user chooses aliases.

## Discussion

By default, file dialogs resolve aliases and
provide the URL of the item referred to by the chosen alias.
This modifier allows control of this behavior: pass `true` if the
application doesn’t want file dialog to resolve aliases.

---

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)