End-Of-Session: Created keyboard grid array
This commit is contained in:
@@ -20,9 +20,9 @@ class KeyboardViewController: UIInputViewController {
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
let hostController = UIHostingController(rootView: KeyboardView())
|
||||
hostController.view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
||||
hostController.sizingOptions = [.intrinsicContentSize]
|
||||
self.view.addSubview(hostController.view)
|
||||
addChild(hostController)
|
||||
|
||||
@@ -64,5 +64,9 @@ class KeyboardViewController: UIInputViewController {
|
||||
}
|
||||
self.nextKeyboardButton.setTitleColor(textColor, for: [])
|
||||
}
|
||||
|
||||
func sendText(text: String) {
|
||||
textDocumentProxy.insertText(text)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user