init(_:errorHandler:)
Creates an activation interaction.
Declaration
init(_ configurationProvider: @escaping UIWindowScene.ActivationInteraction.ConfigurationProvider, errorHandler: @escaping (any Error) -> Void)Parameters
- configurationProvider:
The closure the system calls when the user triggers the interaction. The closure should return a Activationconfiguration object.
- errorHandler:
The closure the system calls when the activation request fails.
Return Value
A newly initialized activation interaction object.