<!--
{
  "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/UIOpenURLContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIOpenURLContext"
  },
  "title" : "UIOpenURLContext"
}
-->

# UIOpenURLContext

A system-provided object that contains the information you need to open a single URL.

```
@MainActor class UIOpenURLContext
```

## Overview

UIKit provides a [`UIOpenURLContext`](/documentation/UIKit/UIOpenURLContext) object when your app receives a URL to open, such as in your implementation of [`scene(_:openURLContexts:)`](/documentation/UIKit/UISceneDelegate/scene(_:openURLContexts:)). The object contains the URL itself and any options needed to handle the URL correctly. Don’t create [`UIOpenURLContext`](/documentation/UIKit/UIOpenURLContext) objects yourself.

## Topics

### Getting the URL

[`URL`](/documentation/UIKit/UIOpenURLContext/url)

The URL to open.

[`options`](/documentation/UIKit/UIOpenURLContext/options)

Additional information for determining how to open the URL.

[`OpenURLOptions`](/documentation/UIKit/UIScene/OpenURLOptions)

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

## Relationships

### Conforms To

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

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

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

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

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

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

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

### 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)