I have a view with a toolbar presented by a UINavigationController.
When I am handling UIKeyboardWillShowNotification, I’m scrolling the entire screen upwards by the height of the keyboard.
The thing is when the keyboard is shown, the bottom toolbar is not, so I need to scroll the screen upwards by only (keyboard.height – toolbar.height).
But how to get the height of the toolbar?
Thanks
You just should check the toolbar frame.
Of course, it only works if you have a navigation controller…