IQKeyboardManager
IQKeyboardManager copied to clipboard
Keyboard is pushing navigationBar to UP.
Describe the bug I have been working on one of project where collecting user information for screen, NavigationBar is custom which has back button, Progress bar for steps, Help button.
After integrating this library we have faced issue. We want to our navigationBar should be static/Sticky but library pushes up/ moving up. Please find the screen shot.
Attached demo project ? let me know if there is any idea to fix this issue. ?
Thanks in advance/
Expected behavior
Should't move navigationBar up, It should static. Only content/Scroll view need to move up
Screenshots
Demo Project If applicable, add demo project. AnimationExperiment.zip
Versions
Xcode: x.x Mac OS: xx.xx.x Simulator/Device: xx.x Simulator/Device Name: iPhone xx Library Version: x.x.x
Additional context Add any other context about the problem here.
I am experiencing the same behavior.
@malisanjay5433 @robee9 Add your view inside scrollview it will work as expected.
https://user-images.githubusercontent.com/29564375/182572173-7769b7f6-afc3-4ec8-b2d7-6fa5e932286d.mov
try to put this code in ViewDidLoad extendedLayoutIncludesOpaqueBars = true this function allows the view to go under the status bar. It is needed because if NavigationBar.isTranslusent = false - IQKeyboardManager will bug
try to put this code in ViewDidLoad() extendedLayoutIncludesOpaqueBars = true this function allows the view to go under the status bar. It is needed because if NavigationBar.isTranslusent = false - IQKeyboardManager will bug
Thanks max270598, that code "extendedLayoutIncludesOpaqueBars = true" solved the problem!!
I have encountered the same problem. Is there a solution?
Same problem :(
@darshanPatel16 suggested the correct answer for these cases where we have our own custom navigation bar.
same problem for me too. extendedLayoutIncludesOpaqueBars = true didn't work for my case.