---
title: "handleInputModeList(from:with:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiinputviewcontroller/handleinputmodelist(from:with:)"
---

# handleInputModeList(from:with:)

Supports interaction with the list of user-enabled keyboards.

## Declaration

```swift
func handleInputModeList(from view: UIView, with event: UIEvent)
```

## Discussion

Discussion Use this method to launch the input mode list from your input view when the user long-presses or swipes up from the view; advance to the next input mode in the list when the user taps the view.

## See Also

### Controlling a custom keyboard

- [advanceToNextInputMode()](uikit/uiinputviewcontroller/advancetonextinputmode().md)
- [dismissKeyboard()](uikit/uiinputviewcontroller/dismisskeyboard().md)
