---
title: NSURL.BookmarkResolutionOptions
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nsurl/bookmarkresolutionoptions
---

# NSURL.BookmarkResolutionOptions

Options used when resolving bookmark data.

## Declaration

```swift
struct BookmarkResolutionOptions
```

## Overview

Overview When resolving a bookmark, use bitwise OR operators to combine the options you want to specify, and provide them to the options parameter of the URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error: method. Version-Notes Security-scoped bookmarks are not available in versions of macOS prior to OS X 10.7.3.

## Topics

### Initializers

- [init(rawValue:)](foundation/nsurl/bookmarkresolutionoptions/init(rawvalue:).md)

### Constants

- [withoutUI](foundation/nsurl/bookmarkresolutionoptions/withoutui.md)
- [withoutMounting](foundation/nsurl/bookmarkresolutionoptions/withoutmounting.md)
- [withSecurityScope](foundation/nsurl/bookmarkresolutionoptions/withsecurityscope.md)
- [withoutImplicitStartAccessing](foundation/nsurl/bookmarkresolutionoptions/withoutimplicitstartaccessing.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Working with Bookmark Data

- [bookmarkData(withContentsOf:)](foundation/nsurl/bookmarkdata(withcontentsof:).md)
- [bookmarkData(options:includingResourceValuesForKeys:relativeTo:)](foundation/nsurl/bookmarkdata(options:includingresourcevaluesforkeys:relativeto:).md)
- [resourceValues(forKeys:fromBookmarkData:)](foundation/nsurl/resourcevalues(forkeys:frombookmarkdata:).md)
- [writeBookmarkData(_:to:options:)](foundation/nsurl/writebookmarkdata(_:to:options:).md)
- [startAccessingSecurityScopedResource()](foundation/nsurl/startaccessingsecurityscopedresource().md)
- [stopAccessingSecurityScopedResource()](foundation/nsurl/stopaccessingsecurityscopedresource().md)
- [NSURL.BookmarkFileCreationOptions](foundation/nsurl/bookmarkfilecreationoptions.md)
- [NSURL.BookmarkCreationOptions](foundation/nsurl/bookmarkcreationoptions.md)
