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

Popular posts from this blog

How to restart the app with flutter Android and iOS

Missing system image Android Studio solution

How to have ConstraintLayout inside ScrollView and ScrollView inside ConstraintLayout Android