You are trying to access it before any animation / transition takes place.
From the docs:
"The transition coordinator object associated with a currently active
transition or nil if no transition is in progress.”
(https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewContro
Most pushes end up deferred (they don’t happen until the run loop turns) so the
transition coordinator would not have been created yet.
Try using the UINavigationController delegate methods,
-navigationController:willShow/didShowViewController:animated:, instead.
> On Jun 15, 2016, at 7:57 AM,
Since I am getting nowhere with this I thought maybe at least I could know
when the animation finishes.
So I was trying it like this:
extension UINavigationController {
func pushViewController(viewController: UIViewController, animated:
Bool, completion: (Void -> Void)) {
pushViewContr
Since iOS7 we have the back gesture to go up the navigation stack. The
gesture basically controls the push/pop animation. We can basically pick
the controller and go back and forth in the animation phases.
Does anyone see a good way to piggyback onto that?
I would like to have another animation th