Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Self-Destructing Message iPhone App Using Parse.com as a Backend and Adding Users Logging In and Logging Out

ian tsai
ian tsai
4,298 Points

I lost back button for SignupViewController as well after hiding the back button for LoginViewController

after entering self.navigationitem.hidesbackbutton = Yes in login view controller and sethidesbottombarwhenpushed:YES in inbox view controller. the back button for signup view controller is also hidden but in your video it is still there.

Sonam Wangyal
Sonam Wangyal
2,208 Points

Did you manage to figure it out?

thibaut noah
thibaut noah
8,692 Points

The code provided in this thread : https://teamtreehouse.com/forum/i-have-major-issues-here-getting-the-back-button-to-hide-the-back-button-itself-does-not-hide-only-the-arrow fixes the bug, basically you create an instance of InboxViewController wich you assign the destinationViewController to and then you use the methods to hides the bar and the back button on it. You obviously delete the code to hide the backbutton in the LoginViewController implementation.

1 Answer

Ian, here is a full template for the social network application: Click Here.