I am implementing a password manager app in iOS with Swit and SwiftUI, and I've recently added support for TOTP codes and implemented the required changes to the AutoFill methods to return the one time codes when necessary.
This usually means that the system will call the method prepareInterfaceToProvideCredential with a credentialRequest whose type is .oneTimeCode, so far so good.
I've seen though that the class ASCredentialProviderViewController provides a method called prepareOneTimeCodeCredentialList, which in theory should be implemented to provide a list of the TOTP codes available in the app, however, I'm not able to reproduce a call to such method, hence, I'm unable to test it.
Can anybody describe the steps to reproduce a call to such method?
Thanks in advance.