When I receive a Push Notification, I want to jump to the middle tab on the tabbar and reset the tab (it has multiple table views that the user may have navigated into). I am able to jump to the tab using tabBarController.selectedIndex = 1; … but how do I reset to the first view?
Share
Implement
UITabBarControllerDelegateon a controller class (perhaps your app delegate) and implementtabBarController:didSelectViewController:to pop all pushed view controllers off the navigation stack: