<!--
{
  "availability" : [
    "iOS: 4.0.0 - 7.0.0",
    "iPadOS: 4.0.0 - 7.0.0",
    "tvOS: 9.0.0 - 9.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSURL/BookmarkCreationOptions/preferFileIDResolution",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSURLBookmarkCreationOptions@NSURLBookmarkCreationPreferFileIDResolution"
  },
  "title" : "preferFileIDResolution"
}
-->

# preferFileIDResolution

Specifies that when creating a bookmark, upon resolution, its embedded file ID takes precedence over other sources of information (file system path, for example) when there’s a conflict.

```
static var preferFileIDResolution: NSURL.BookmarkCreationOptions { get }
```

---

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)