---
title: UIPasteboard.OptionsKey
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uipasteboard/optionskey
---

# UIPasteboard.OptionsKey

Options for describing pasteboard privacy.

## Declaration

```swift
struct OptionsKey
```

## Overview

Overview Use these options with the setItems(_:options:) method. Options that you set apply to all the items on a pasteboard.

## Topics

### Constants

- [expirationDate](uikit/uipasteboard/optionskey/expirationdate.md)
- [localOnly](uikit/uipasteboard/optionskey/localonly.md)

### Initializers

- [init(rawValue:)](uikit/uipasteboard/optionskey/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [UIPasteboard.Name](uikit/uipasteboard/name-swift.struct.md)
- [Pasteboard Names](uikit/pasteboard-names.md)
- [Pasteboard Data Type Representations](uikit/pasteboard-data-type-representations.md)
- [UserInfo Dictionary Keys](uikit/userinfo-dictionary-keys.md)
