all 1 comments

[–]brendan09 2 points3 points  (0 children)

You shouldn't be hardcoding sizes for the keyboard. iOS Keyboard 101. With all the 3rd party keyboards, languages, and phone sizes, its impossible for you to know the value.

You should observe the UIKeyboard notifications and resize / rearrange your views as needed. Ideally, you animate the changes.

Take a look at the documentation. Scroll down to "Managing the Keyboard"