hackiftekhar/IQKeyboardManager

It moves up subview rather than superview

lusnaow opened this issue · 3 comments

I have a UIView in my UIViewController's view, and some buttons in that UIView. The UIView is at the bottom of some UITextField. When I click one UITextField,It moves up subview rather than superview aka the UIViewController's view. How can I let it move up the UIViewController's view rather than any subView?

May you're pinning your textField from TopLayoutGuide, or pinning some related view from topLayoutGuide. Can you please check storyboard and let me know if this was the issue?

After I disabled the AutoLayout, it works well now.Thanks a lot.

Autolayout is a powerful tool. I suggest you to go with autolayout (not disable) with correct configuration.