2

I am working on a custom keyboard. It works fine on iOS8, but then ios9 public beta was released and updated my phone to ios9. My keyboard is not a traditional keyboard and so it doesn't need all that space, so I was using the height constraint as mentioned here: iOS 8 Custom Keyboard: Changing the Height

and also on the apple's official custom keyboard page here: https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html

However none of these work in ios9 any more. Forums at developer.apple.com are of no help and I have no ideas any more except to believe that this is either a bug or apple has removed this functionality.

Has any one else noticed this ?

Ahmad Mushtaq
  • 1,395
  • 1
  • 10
  • 32

1 Answers1

2

Change the height of the keyboard in viewDidAppear with a different value from the initial value.

Height+=1;
[self.inputView setNeedsUpdateConstraints];