---
title: "requestSupplementaryLexicon(completion:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiinputviewcontroller/requestsupplementarylexicon(completion:)"
---

# requestSupplementaryLexicon(completion:)

Obtains a supplementary lexicon of term pairs in a custom keyboard.

## Declaration

```swift
func requestSupplementaryLexicon(completion completionHandler: @escaping (UILexicon) -> Void)
```

```swift
func requestSupplementaryLexicon() async -> UILexicon
```

## Parameters

- `completionHandler`: Code that you write to make use of the returned UILexicon object.

## Discussion

Discussion Call this method to obtain a UILexicon object containing a basic set of term pairs for use in autocorrection or textual suggestions based on user input. The UILexicon object contains words from various sources, including: Unpaired first names and last names from the user’s Address Book database Text shortcuts defined in the Settings > General > Keyboard > Shortcuts list A common words dictionary Consider this lexicon as a supplement to a more complete lexicon of your own design.
