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 trialArsene Lavaux
4,342 PointsWarning THDetailViewController
I implemented the code for the transition:
https://www.dropbox.com/s/55dand8la8kviwg/Code_transition.png
When I tap on a picture the DetailView doesn't load and I get this message in my log:
https://www.dropbox.com/s/0gvw7entdaa7iyq/Error_log.png
What should I do?
Thanks!
Gabor Orosz
1,091 PointsSame problem here... did you found any solution?
1 Answer
Samya Al Rahmani
3,186 PointsYou might have set the UITransitionContextToViewControllerKey to "From" instead of "To" in PresentDetailTransition.m
- (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext { UIViewController *detail = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey];
Tawanda Kanyangarara
4,284 PointsTawanda Kanyangarara
4,284 PointsI have the same problem, is did you manage to find a fix