0

Is there any way to to check the current navigation controller or the view controller currently visible in application delegate method.

I want to create an Observer in application delegate that observes the controller being pushed and pop from the stack so that i could display the required tab bar controller. Basically my app have more than one tab bar controllers.

GeorgePotter
  • 889
  • 1
  • 10
  • 18
Ali Awais
  • 113
  • 1
  • 9

1 Answers1

0

Consider using NSNotification instances when your view controller stack changes its state. Google has lots of examples and explanations of this class (for example).

Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345