I have a view controller as my initial view controller. there's a button in it(GO button) which when the user taps, it should go to another view controller(let's call it Destination view controller with label 'This is where i wanna go'). Meanwhile i want to pass it through a Tabbar controller. The reason is i want to have tabbar in my navigation stack. I wish to go directly to the Destination view controller while pressing go button but it should show the tab bar items at the bottom. So for achieving this in FirstViewController didLoadMethod I checked a bool value and pushed the view controller to the Destination view controller. I achieved the result I.e when pressing the Go button it goes to the Destination view controller and has tab bar items at it's bottom. But the problem since it passes through the Tabbarcontroller the FirstViewController is shown for some seconds and then it pushes to the Destination view controller. I wish to hide FirstViewController while this transition takes place. How to achieve this? Picture shows what i want. what can I do to hide firstviewcontroller while having it in navigation stack?
from How to hide Tabbarcontroller's first view controller and go directly to the next controller but should show the tab bar items at the bottom
from How to hide Tabbarcontroller's first view controller and go directly to the next controller but should show the tab bar items at the bottom
No comments:
Post a Comment