Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It moves up subview rather than superview #206

Closed
lusnaow opened this issue Apr 23, 2015 · 3 comments
Closed

It moves up subview rather than superview #206

lusnaow opened this issue Apr 23, 2015 · 3 comments
Labels

Comments

@lusnaow
Copy link

lusnaow commented Apr 23, 2015

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?

@hackiftekhar
Copy link
Owner

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
Copy link
Author

lusnaow commented Apr 24, 2015

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

@hackiftekhar
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants