---
title: prepareInterfaceForUserChoosingTextToInsert()
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: authenticationservices/ascredentialproviderviewcontroller/prepareinterfaceforuserchoosingtexttoinsert()
---

# prepareInterfaceForUserChoosingTextToInsert()

Prepare the view controller to show a list of all insertable text with user selectable fields.

## Declaration

```swift
func prepareInterfaceForUserChoosingTextToInsert()
```

## Discussion

Discussion This method is called by the system to prepare the extension’s view controller to present a list of any insertable text with selectable fields. In order for your extension to be presented in the list of options for text insertion request, your extension needs to specify a true value for the Information Property List key ProvidesTextToInsert under the ASCredentialProviderExtensionCapabilities dictionary. Info.plist ├─ NSExtension     ├─ NSExtensionAttributes         ├─ ASCredentialProviderExtensionCapabilities             ├─ ProvidesTextToInsert => true
