I'm developing an iOS 5 app using Storyboard.
I have UITabBarController
which has 3 tabs. Every tab has its own UINavigationController
. UINavigationController
of first tab has one UITableViewController
which segues to another UIViewController
etc. UINavigationController
of second tab has only one UIViewController
.
What I want to achieve is to navigate to UIViewController
(second view in UINavigationController
of first tab) when certain action happens in UIViewController
of second tab.
I've tried to accomplish this using push segue but then the navigation stack becomes mixed with view controllers of different tabs (the back button in destination view controller points to view controller of another tab).
So I want to know what is the "correct way" to accomplish this kind of transition between view controllers of different tabs.
Any help would be very appreciated.