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
Nathan Majumder
3,026 Pointssegue not displaying next view controller
I put in a modal segue that takes some data from text fields and sends the input on to the next view controller in the prepareForSegue method. I know the data is getting to the destination view controller because I use println statements in the viewDidLoad method there, but the view never visually changes. The button I hit to perform the segue remains clicked, the code in the destination view controller begins to execute, but the screen still has the last view controller on it. Any ideas why this is happening? Thanks!
1 Answer
Chris Howie
13,216 PointsIt is possible that it still is connected to a different Segue. Could you post your code here so we can take a look? Also go to your Main storyboard file and make sure that only one segue is connected.