Hi guys I am working on an application.Where there is a home screen with 5 buttons.On the click of every button i want to open the screen with tabbar with 5 view controllers.I mean when you click on the button the tabbar is opened.And there are back button on the tab bar view as well .On clicking the back button i want to pop back to the home screen and vice versa.
How to do that guys.Any tutorial ,links,sample code would be appreciated.
Thanks a lot to all
Tabbar controller in a navigation stack is complicated. Since each tab controller can have also navigation controller itself.
Have a
WindowManagerclass. It should own both–
FirstViewControllerand–
TabbarControllerAll components and the UITabbarControllers themselves should be instantiated in the WindowManager class.
Its
initmay have code like this, make similar for two tabbarcontrollers.In the
WindowManager, you can have two methods like,You can have a “back” button on top of your first tabbar controller left side, to call the