iOS keychain autofill

Does anyone have experience with implementing the native iOS autofill? I can’t get it to work in my app.

The desired action would be like this: (a preview of how the autofill is shown inside the Safari web browser)

But in my app I only get this: