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!

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 Photo Browser iPhone App Gestures Creating a Detail View Controller

Scroll through detail view controllers

That's kind of a silly name for the question I have. Basically, I'd like to duplicate the Photos app functionality. Once I tap on a photo, it should go to the detail view, then when I swipe on that detail view, it should swipe to the next photo. How should I go about doing that?

I suspect that I should create a detail view controller which has full screen view cells, and then add Gesture recognizers that swipe to the next one.