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
Jeff Stern
770 PointsNeed Segue Help!
Hi. I'm wondering, can one connect an image views (which has tap gestures on it) to another view controller with a segue.
I am making an IOS application with 3 image views (each with their own tap gestures). Bellow I will try to illustrate the order of views.
Search Image Button > Search Bar View > Specific School Schools Image Button > School School List -> Specific School Application Image Button > App School List -> Specific School
Once a school is selected from the search bar, that school is added to the list in schools and the list in application.
1 Answer
Anthony Martinez
13,111 PointsYes. Try:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
//do stuff here
}