---
title: keyboardWillDismiss()
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: browserenginekit/betextinput/keyboardwilldismiss()
---

# keyboardWillDismiss()

Called when the user has requested the keyboard to dismiss itself.

## Declaration

```swift
optional func keyboardWillDismiss()
```

## Mentioned in

Integrating custom browser text views with UIKit
