<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPasteboard/OptionsKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UIPasteboardOption"
  },
  "title" : "UIPasteboard.OptionsKey"
}
-->

# UIPasteboard.OptionsKey

Options for describing pasteboard privacy.

```
struct OptionsKey
```

## Overview

Use these options with the [`setItems(_:options:)`](/documentation/UIKit/UIPasteboard/setItems(_:options:)) method. Options that you set apply to all the items on a pasteboard.

## Topics

### Constants

[`expirationDate`](/documentation/UIKit/UIPasteboard/OptionsKey/expirationDate)

The time and date that you want the system to remove the pasteboard items from the pasteboard.

[`localOnly`](/documentation/UIKit/UIPasteboard/OptionsKey/localOnly)

A Boolean value that specifies that the pasteboard items should not be available to other devices through the Handoff feature.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIPasteboard/OptionsKey/init(rawValue:))



---

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)