Skip to content

It moves up subview rather than superview #206

Closed

Description

@lusnaow

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?

Activity

  1. hackiftekhar commented on Apr 23, 2015

    @hackiftekhar
    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?

  2. lusnaow commented on Apr 24, 2015

    @lusnaow
    Author

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

  3. hackiftekhar commented on Apr 24, 2015

    @hackiftekhar
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions