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

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