I Embedded "MessagesViewController" into my another view controller. In viewcontroller xib i have a custom navigation bar. So as per the Embedded Example in demo but when i start typing whole view getting scroll with my custom top view. Please check attached screenshot and let me know how can i stop it. I want it same like Embedded Example.


Hello
Tell me what was the problem?
It still is not solved. In my project ChatViewController embedded into the UINavigationViewController slides up when the keyboard appears

any update on it? I am facing the same issue
I had the same problem but it was for something else.
If you are using IQKeyboardManager you must disable it in the view.
IQKeyboardManager.shared.disabledDistanceHandlingClasses.append (ChatViewController.self)
That solved my problem. I hope it helps you
Most helpful comment
I had the same problem but it was for something else.
If you are using IQKeyboardManager you must disable it in the view.
IQKeyboardManager.shared.disabledDistanceHandlingClasses.append (ChatViewController.self)That solved my problem. I hope it helps you