Incorrect Keyboard Extension height after rotation
问题 I have iOS custom keyboard that changes height when it rotates. My code works fine 95% times... But in some cases (see below) the height is not changed when rotated to landscape - portrait height is kept. Issue can be reproduced with this (almost) minimal code - create new Keyboard Extension target and copy this code to KeyboardViewController : class KeyboardViewController: UIInputViewController { private var orangeView = UIView() private var heightConstraint: NSLayoutConstraint! @IBOutlet