---
title: keyboardDisplayRequiresUserAction
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwebview/keyboarddisplayrequiresuseraction
---

# keyboardDisplayRequiresUserAction

A Boolean value indicating whether web content can programmatically display the keyboard.

## Declaration

```swift
var keyboardDisplayRequiresUserAction: Bool { get set }
```

## Discussion

Discussion When this property is set to true, the user must explicitly tap the elements in the web view to display the keyboard (or other relevant input view) for that element. When set to false, a focus event on an element causes the input view to be displayed and associated with that element automatically. The default value for this property is true.

## See Also

### Setting web content properties

- [allowsLinkPreview](uikit/uiwebview/allowslinkpreview.md)
- [scalesPageToFit](uikit/uiwebview/scalespagetofit.md)
- [scrollView](uikit/uiwebview/scrollview.md)
- [suppressesIncrementalRendering](uikit/uiwebview/suppressesincrementalrendering.md)
- [dataDetectorTypes](uikit/uiwebview/datadetectortypes.md)
