Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEvan David
4,296 PointsLogin form moves when changing between UITextFields
I have implemented this per the instructions (though using iOS 8 / XCode 6).
Everything works roughly as expected, except that on the login form, when focus changes from the username field to the password field (and vice versa), the UIScrollView scrolls slightly, giving the impression that the form is bouncing around as you fill it in.
Interestingly, this doesn't happen on the signup form. Both have the same constraint to the bottom of the superview.
Any ideas?
1 Answer
James Lambert
Courses Plus Student 14,477 PointsIn the story board, select the UIScrollView and in the attributes inspector uncheck the "Bounces" check box. If you didn't use storyboard and created the UIScrollView from code there is a BOOL called bounces.