containerAppLaunchReasonKey
A key the container app uses to retrieve the reason the app extension requested the framework to launch the container app.
Declaration
static let containerAppLaunchReasonKey: StringDiscussion
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.