I have a storyboard like this
-> NavigationController -> LoginView -> TabBarController -> VC1 -> VC2
I didn\'t manage to make a \"move\" from VC1 to VC2 keep
Your view hierarchy should not look like this if you want to keep the tabBar.
-> NavigationController -> TabBarController -> VC1 -> VC2
You should change it to -> TabBarController -> NavigationController -> VC1 -> VC2
First, you need to make sure that your VC1 to VC2 segue is in type (Show e.g. Push)
. Then you need to make sure that VC1 is embedded in a UINavigationController
NavigationController->TabBarController->NavigationController->First View->Button Tapped->FirstDetailsViewController.storyboard(NavigationController check Is intital View Controller)
You need to set TabBarContoller as rootViewController of the app. So scheme should be as follow:
TabBarContoller -> Tab1 -> UINavigationController -> ViewContoller1 -> ViewContoller2.
In such case you can navigate between ViewContoller1 and ViewContoller2 and TabBarContoller will remain visible.