---
title: containerAppLaunchReasonKey
framework: LiveCommunicationKit
role: symbol
role_heading: Type Property
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, macOS 27.2+, visionOS 27.2+]
path: livecommunicationkit/liveassistance/containerapplaunchreasonkey
---

# containerAppLaunchReasonKey

A key the container app uses to retrieve the reason the app extension requested the framework to launch the container app.

## Declaration

```swift
static let containerAppLaunchReasonKey: String
```

## Discussion

Discussion When launched with the user activity type containerAppLaunchReasonKey, your app retrieves this key from the userInfo dictionary of the NSUserActivity received by the launch method. The value is a string that you pass to LiveAssistanceLaunchReason(rawValue:) to create an instance of the LiveAssistanceLaunchReason enumeration. Compare this instance against the defined cases in the enumeration to determine why the container app launched, such as to perform sign-in or to collect further information or approval. The string you receive from the user activity is only appropriate for instantiating a LiveAssistanceLaunchReason to compare against; it’s not appropriate for use in your user interface.

## See Also

### Responding to a container app launch

- [containerAppLaunchActivityType](livecommunicationkit/liveassistance/containerapplaunchactivitytype.md)
- [containerAppLaunchRequestIDKey](livecommunicationkit/liveassistance/containerapplaunchrequestidkey.md)
- [LiveAssistanceLaunchReason](livecommunicationkit/liveassistancelaunchreason.md)
