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 trial

iOS

Andrew Brotherton
Andrew Brotherton
7,515 Points

UsernameField not appearing on app load

I've added all of the delegates, connected everything but wondering why my username Field seems to be pinned to the top? I've embedded a link to the dropbox of my app. https://www.dropbox.com/sh/30khgyz5k1h1vik/AACcOBN8HUdDrprMopIlTWGAa?dl=0

1 Answer

Stone Preston
Stone Preston
42,016 Points

in your storyboard select your login view controller. make sure you select the controller and not the view (if you select the controller it will highlight in blue). selecting it in the document outline is the easiest way to select the controller, but clicking around near the top edge of the view controller in your storyboard will work too.

open the attributes inspector from the utilities panel. in the extend edges section of utilities uncheck "under top bars". this will keep your controls from floating up under the nav bar.

do the same thing for your sign up view controller