title: how to get currently viewing viewcontroller?
body: <p>When a push notification arrives, i need to get currently viewing <code>ViewController</code> from the method <code>didReceiveRemoteNotification:</code> of AppDelegate. I have been using both <code>TabbarController</code> and <code>NavigationController</code> in my App. When i try to get it from navigation stack (top item), i get my <code>CustomNavigationController</code>. But i need to get the viewing ViewController (might be an item in tabbar). Would you please help. Thanks in advance.</p>