I'm using IQKeyboardManager
in Swift to handle the keyboard in my app (it's a chat app and the UICollectionView
and the UITextField
should move up and down according to the keyboard's position). It's working great.
My only problem is that it moves the whole view up, including the UINavigationBar
and that's why it looks very weird. I want the UINavigationBar
to remain sticky on the top of the screen.
Any idea how can I do that?
Thank you