0

I'm trying to debug keyboard height issues in the iOS simulator, I need several keyboards that are different heights. There are about 40 keyboards that are built-in and can be added via Settings.

Which of the built-in keyboards have different heights than the default English keyboard?

Note: I'm not looking for a 3rd party keyboard since I want to minimize the amount of variables I need to deal with. Also, I want to be able to do this kind of testing at anytime without the need to install another app.

Senseful
  • 86,719
  • 67
  • 308
  • 465

2 Answers2

1

You can probably solve the issue you want by grabbing the keyboard height at runtime instead. This will work if apple changes keyboard heights in the future.

You can do that by registering for UIKeyboardWillChangeFrameNotification and then get the height from there. Reference: How to get UIKeyboard size with Apple iPhone SDK. Be sure to look at the second answer that references Chinese.

Community
  • 1
  • 1
Jeremiah
  • 1,471
  • 1
  • 13
  • 22
  • I'm trying to debug an issue with a method such as that (for example), hence I would need to do the opposite: find a keyboard of a known size, and ensure that the above method sets the height correctly. – Senseful Aug 20 '15 at 19:09
0

iPhone 6 (9.0)

Portrait:

  • English (predictive text disabled): 216
  • English (predictive text minimized): 225
  • Chinese (Simplified) - Handwriting: 252
  • Emoji: 258
  • English (predictive text maximized): 258
  • Chinese (Simplified) - Pinyin - 10 Key: 283.5

Landscape:

  • Chinese (Simplified) - Pinyin - 10 Key: 162
  • English (predictive text disabled): 162
  • English (predictive text minimized): 171
  • Emoji: 194
  • English (predictive text maximized): 194
  • Chinese (Simplified) - Handwriting: 198

iPad Air (9.0)

Portrait:

  • English (shortcut bar only): 55
  • English (without shortcut bar): 265
  • Emoji: 303
  • English (with shortcut bar): 313
  • Chinese (Simplified) - Handwriting (without shortcut bar): 406
  • Chinese (Simplified) - Handwriting (with shortcut bar): 461

Landscape:

  • English (without shortcut bar): 353
  • Emoji: 391
  • English (with shortcut bar): 398
  • Chinese (Simplified) - Handwriting (without shortcut bar): 406
  • Chinese (Simplified) - Handwriting (with shortcut bar): 461

Note: all values are ordered by size then name.

Note: shortcut bar refers to the iOS 9 Shortcut Bar and/or iOS 8's QuickType bar which is enabled/disabled by choosing the Predictive and Shortcuts options.

Community
  • 1
  • 1
Senseful
  • 86,719
  • 67
  • 308
  • 465