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

chitra iyer
chitra iyer
3,722 Points

How to push the Edit Friends view back to Friends

After log out and logging in as another user, I notice that the Edit Friends view persists for the previous user. How do I ensure that every time a new user logs in and clicks on the Friends bar, the Friends view gets loaded. Thanks!

1 Answer

they should have it

chitra iyer
chitra iyer
3,722 Points

So what you are saying is that I should perform the segue programmatically. Can I call the segue in a method? I would like to perform this in the logout method of InboxViewController