spiegel-keyman/ios/docs/engine/TextView/index.md
2024-10-31 10:13:00 +07:00

28 lines
537 B
Markdown

---
title: TextView class
---
## Summary
The TextView class provides a UITextView to use with Keyman Engine.
## Syntax
```swift
TextView.methodName()
```
## Description
The viewController should be set to main view controller to enable keyboard picker.
## Methods
[`dismissKeyboard()`](dismissKeyboard)
: dismisses the keyboard if this textview is the first responder.
[`setKeymanDelegate()`](setKeymanDelegate)
: sets the TextViewDelegate instead of the normal UITextViewDelegate.
`text`
: gets or sets the text string.