presentRegistrationViewController(completion:)
Requests platform single sign-on to show the extension’s view controller to the user.
Declaration
func presentRegistrationViewController(completion: @escaping @Sendable ((any Error)?) -> Void)func presentRegistrationViewController() async throwsParameters
- completion:
A completion handler that the method uses to indicate whether the view controller presents successfully, and the specific error if it doesn’t.
Mentioned in
Discussion
This is only valid during registration. If the system can’t show the controller, the completion returns an error.