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

Animating 3 views when keyboard shown #6

Open
eyalc82 opened this issue Jul 31, 2012 · 0 comments
Open

Animating 3 views when keyboard shown #6

eyalc82 opened this issue Jul 31, 2012 · 0 comments

Comments

@eyalc82
Copy link

eyalc82 commented Jul 31, 2012

Hey Daniel,

I'm having trouble using the DAKeyboardControl with my views layout

My viewController's view has 3 subviews:

  1. top view is a UIView with frame (0,0,320,54)
  2. middle view is a UITableView with frame (0, 54, 320, screenHeight - 54 - 38)
  3. bottom view s a UITextFiled with frame (0, screenHeight - 38, 320, 38)

I want that when the keyboard is shown, my top view & my tableView will animate up until the top view is completely hidden and the tableView y origin is 0. From this point the keyboard is still animating up so now the tableView height should get smaller until the keyboard animation is finished.
(the bottom UITextFiled should behave like in the example - stay above the keyboard)
When user pan to dismiss the keyboard the views should return to original position.

I know that this is a very specific question, but I hope u could help
Thanks

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

No branches or pull requests

1 participant