How can I know when a UIViewController
has been just pushed from a UINavigationViewController
?
I obviously don't want to use viewDidAppear
because that's method is called everytime that view appears, not just when it's pushed.
viewDidLoad
is called before the view controller is pushed and I don't have the reference to the navigationController available