On iOS 8, keyboards can be different heights. When the user switches between keyboards, or changes the height of the current keyboard, how can I detect this?
Listen to the UIKeyboardWillChangeFrameNotification
notification.
Use UIKeyboardFrameBeginUserInfoKey
and UIKeyboardFrameEndUserInfoKey
values in the passed userInfo
dictionary to retrieve the current and future frame of the keyboard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With