Attempts to provide the user-requested credential with no further user interaction.
- iOS 12.0+
The credential identity for which a credential should be provided.
When the user selects a credential identity from the QuickType bar, the system calls the
provide method to ask your extension to provide the corresponding credential.
Call the context’s
complete method to provide the credential if the extension can do so without further user interaction. If not—for example, because the user must first unlock a password database—call the
cancel method instead using an error with domain
ASExtension and code
user. In turn, the system calls your
prepare method to give your extension a chance to present an interface to handle the needed user interaction.
You can alternatively call the cancel method to indicate other error conditions using one of the codes in