mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-07 08:07:43 +00:00
Merge pull request #434 from keymanapp/ios-bugfix-blank-system-wide-keyboard
re-parent and update delegates if they are lost during keyboard initi…
This commit is contained in:
commit
eb4b3c9ee5
1 changed files with 8 additions and 0 deletions
|
|
@ -134,6 +134,14 @@ open class InputViewController: UIInputViewController, KeymanWebViewDelegate {
|
|||
super.viewDidAppear(animated)
|
||||
setConstraints()
|
||||
inputView?.setNeedsUpdateConstraints()
|
||||
|
||||
//TODO: find out why this is actually happening
|
||||
if let containerView = self.containerView {
|
||||
if containerView.subviews.isEmpty {
|
||||
Manager.shared.inputDelegate = self
|
||||
containerView.addSubview(kmInputView)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
open override func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue