I’m working on an iPhone app build from a TabBarController in the Storyboard. Most of the tabs lead to NavigationControllers with TableViews. Now when I press another tab, I want the tab I just left to jump back to main/default view. I want this to happen with some of the tabs, but with some of them it’s more practical if it remains in the view it was left. How can I implement this to my app?
I’m working on an iPhone app build from a TabBarController in the Storyboard. Most
Share
To reset a view controller back to its original state, you can do this in viewWillAppear of a the given ViewController.