<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScene/OpenURLOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISceneOpenURLOptions"
  },
  "title" : "UIScene.OpenURLOptions"
}
-->

# UIScene.OpenURLOptions

Options that UIKit provides when asking your app to open a URL.

```
@MainActor class OpenURLOptions
```

## Overview

Don’t create a [`UIScene.OpenURLOptions`](/documentation/UIKit/UIScene/OpenURLOptions) object directly. UIKit creates one for you when your app receives a request to open a URL. Use the information in the object to determine how to respond to the URL.

## Topics

### Specifying the URL details

[`var sourceApplication: String?`](/documentation/UIKit/UIScene/OpenURLOptions/sourceApplication)

The bundle ID of the app that originated the request.

[`var annotation: Any?`](/documentation/UIKit/UIScene/OpenURLOptions/annotation)

A property-list object that contains the annotation data provided by a document interaction controller.

[`var eventAttribution: UIEventAttribution?`](/documentation/UIKit/UIScene/OpenURLOptions/eventAttribution)

An event attribution associated with the URL to open.

### Specifying the behavior options

[`var openInPlace: Bool`](/documentation/UIKit/UIScene/OpenURLOptions/openInPlace)

A Boolean value that indicates whether you should open the URL at its current location instead of copying it to your app’s container.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)