<!--
{
  "availability" : [
    "iOS: 3.0.0 - 26.0.0",
    "iPadOS: 3.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/LaunchOptionsKey/url",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIApplicationLaunchOptionsURLKey"
  },
  "title" : "url"
}
-->

# url

A key indicating that the app was launched so that it could open the specified URL.

```
static let url: UIApplication.LaunchOptionsKey
```

## Discussion

The value of this key is an <doc://com.apple.documentation/documentation/Foundation/NSURL> object containing the URL to open. This key is also used to access the same value in the `userInfo` dictionary of the notification named [`didFinishLaunchingNotification`](/documentation/UIKit/UIApplication/didFinishLaunchingNotification).

---

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)