openApplication(for:)
Initiates a request to open the extension’s containing app.
Declaration
final func openApplication(for userActivity: NSUserActivity) async throwsParameters
- userActivity:
An
NSUserActivitythat contains relevant information to benefit from universal link support. Use the Nsuseractivitytypelockedcameracapture activity type to indicate when the app launches from a locked camera capture extension.
Discussion
The system requests authentication before opening the app, if needed.