---
title: UIOpenURLContext
framework: uikit
role: symbol
role_heading: Class
path: uikit/uiopenurlcontext
---

# UIOpenURLContext

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

## Declaration

```swift
@MainActor class UIOpenURLContext
```

## Overview

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

## Topics

### Getting the URL

- [url](uikit/uiopenurlcontext/url.md)
- [options](uikit/uiopenurlcontext/options.md)
- [UIScene.OpenURLOptions](uikit/uiscene/openurloptions.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### URL management

- [UIScene.OpenExternalURLOptions](uikit/uiscene/openexternalurloptions.md)
