You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Activity
hackiftekhar commentedon Apr 23, 2015
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?
lusnaow commentedon Apr 24, 2015
After I disabled the AutoLayout, it works well now.Thanks a lot.
hackiftekhar commentedon Apr 24, 2015
Autolayout is a powerful tool. I suggest you to go with autolayout (not disable) with correct configuration.
Documentation updated for TopLayoutGuide and BottomLayoutGuide.
Documentation updated for TopLayoutGuide and BottomLayoutGuide.