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 Build a Self-Destructing Message iPhone App Designing and Starting the App Adding Login and Sign Up Screens

Adrian Catuna
Adrian Catuna
2,092 Points

Segue programmatically without Navigation Controller

Is it possible to segue to another View Controller without having a navigation controller in place?

2 Answers

Dale Tupling
Dale Tupling
939 Points

Yes, view this link for further information.

http://prateekvjoshi.com/2013/11/02/how-to-trigger-a-segue-programmatically-in-ios/

You need to create the segue, give it an identifier, and then add the appropriate logic to prepare for the segue and execute the segue

Adrian Catuna
Adrian Catuna
2,092 Points

Thanks Dale. I will give this a read.