<!--
{
  "availability" : [
    "iOS: 9.0.0 - 26.0.0",
    "iPadOS: 9.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplication/OpenURLOptionsKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UIApplicationOpenURLOptionsKey"
  },
  "title" : "UIApplication.OpenURLOptionsKey"
}
-->

# UIApplication.OpenURLOptionsKey

Keys you use to access values in the options dictionary when opening a URL.

```
struct OpenURLOptionsKey
```

## Overview

Use these keys to retrieve options in the [`application(_:open:options:)`](/documentation/UIKit/UIApplicationDelegate/application(_:open:options:)) method of your app delegate.

## Topics

### Accessing open-URL options

[`sourceApplication`](/documentation/UIKit/UIApplication/OpenURLOptionsKey/sourceApplication)

A key containing the bundle ID of the app that sent the open-URL request to your app.

[`annotation`](/documentation/UIKit/UIApplication/OpenURLOptionsKey/annotation)

A key containing the information passed to a document interaction controller object’s annotation property.

[`openInPlace`](/documentation/UIKit/UIApplication/OpenURLOptionsKey/openInPlace)

A key containing a flag that indicates whether a document must be copied before you use it.

[`eventAttribution`](/documentation/UIKit/UIApplication/OpenURLOptionsKey/eventAttribution)

An options key for `application(_:open:options:)`. The value is a `UIEventAttribution` to go along with the URL to open.

### Creating an open-URL options key

[`init(rawValue:)`](/documentation/UIKit/UIApplication/OpenURLOptionsKey/init(rawValue:))

Creates a URL-opening options key with the specified raw value.



---

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)