Skip to content

Instantly share code, notes, and snippets.

@BradB132
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BradB132/cddce105b59b7e61f207 to your computer and use it in GitHub Desktop.
Save BradB132/cddce105b59b7e61f207 to your computer and use it in GitHub Desktop.
ViewControllerTransitionsPart3-3
- (id <UIViewControllerInteractiveTransitioning>)navigationController:(UINavigationController *)navigationController
interactionControllerForAnimationController:(id <UIViewControllerAnimatedTransitioning>) animationController
{
if([_mostRecentController respondsToSelector:@selector(navigationController:interactionControllerForAnimationController:)])
{
return [(id<UINavigationControllerDelegate>)_mostRecentController navigationController:navigationController
interactionControllerForAnimationController:animationController];
}
return nil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment