So I have a UINavigationController, with Controller A as the root controller.
When I want to push Controller B on top, I want to use a custom animated transition and a custom interactive transition. This works fine.
When I want to push Controller C on top, I want to fall back to the default push/pop transitions that comes with UINavigationController. To make this happen I return nil for
navigationController:animationControllerForOperation:fromViewController:toViewController:
however if you return nil, then
navigationController:interactionControllerForAnimationController:
will never be called and the default "pan from left edge" pop interactive transition doesn't work.
Is there a way to return the default push/pop animation controller and interaction controller?
(Are there concrete implementations of id<UIViewControllerAnimatedTransitioning>
and id<UIViewControllerInteractiveTransitioning>
?)
Or some other way?