How to test/trigger 'prepareInterfaceForUserChoosingTextToInsert'

Similar to this thread. How do we go about testing or triggering the UI for this new iOS/macOS 18 API?

https://developer.apple.com/documentation/authenticationservices/ascredentialproviderviewcontroller/prepareinterfaceforuserchoosingtexttoinsert()

Thanks!

Answered by Engineer in 801331022

Once you have implemented the API and enabled your extension in Settings > General > AutoFill & Passwords, you can tap twice or long press in any text field to bring up the callout bar (the UI for actions like Copy or Paste) and from there select AutoFill > Passwords to show your extension UI. Note that this API is for iOS only.

Accepted Answer

Once you have implemented the API and enabled your extension in Settings > General > AutoFill & Passwords, you can tap twice or long press in any text field to bring up the callout bar (the UI for actions like Copy or Paste) and from there select AutoFill > Passwords to show your extension UI. Note that this API is for iOS only.

How to test/trigger 'prepareInterfaceForUserChoosingTextToInsert'
 
 
Q