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 trialStephen Peltier
9,681 PointsMaking me click on two images to view an image
I'm getting some strange behavior where it's making me click on two different images to see the standard sized image in its own image view.
I can keep (single)clicking on the same image and nothing will happen, then once I click on a second image, the first image I clicked on will appear in the new image view.
Everything else works as expected.
2 Answers
Stephen Peltier
9,681 PointsFigured it out. was calling didDeselectItemAtIndexPth instead of didSelectItemAtIndexPath.
Raphael Melo
6,125 PointsSame here. Thanks Stephen Peltier !
Daniel Benito
4,341 PointsDaniel Benito
4,341 PointsI ran into this same issue. Thanks for saving me some time. :D