<!--
{
  "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/sourceApplication",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIApplicationLaunchOptionsSourceApplicationKey"
  },
  "title" : "sourceApplication"
}
-->

# sourceApplication

A key indicating that another app requested the launch of your app.

```
static let sourceApplication: UIApplication.LaunchOptionsKey
```

## Discussion

The value of this key is an <doc://com.apple.documentation/documentation/Foundation/NSString> object containing the bundle ID of the app that made the request. If the request originated from another app belonging to your team, UIKit sets the value of this key to the ID of that app. If the team identifier of the originating app is different than the team identifier of the current app, the value of the key is `nil`.

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)