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 trialChris Stromberg
Courses Plus Student 13,389 PointsAdding Login and Sign Up Screens in Self Destructing Iphone message app.
When opening this app in the simulator, why does the Login screen show first instead of the Inbox table view? Is it because we created a manual segue when the viewDidLoadMethod is called?
2 Answers
Stone Preston
42,016 Pointsyes. technically the inbox view is loaded up first, however you check to see if the user is logged in when it loads. If they are not logged in you perform the segue that shows the login screen before the user gets a chance to see the inbox.
Chris Stromberg
Courses Plus Student 13,389 PointsThanks Stone. I was a little ahead of myself when I asked that question. I made it to the video describing what you said.