Saturday, February 2, 2019

Get Height Keyboard iOS Swift 4

I have a problem when trying to use IQKeyboardManager. When keyboard show up, the navbar sometimes will break the top and give some white space. So finally i turn off IQKeyboardManager and trying to implement keyboard show up by self. So the point is to get height keyboard and raise the textbox above keyboard. This is the example of I've done.

This is the code :

I hope it helps you all, if you have any question please feel free to ask :D

No comments:

Post a Comment