mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 17:05:34 +00:00
28 lines
537 B
Markdown
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.
|