There are two tab bar items with two different table views with my navigation controllers by clicking on tab 1 - Table 1 Opening ... Well, but when I made selection on Table 1, it goes another scene (Table selection scene) ... Everything is good.
But here's the problem
When I'm clicking on tab2 ----- Opening Table 2. Well.
But then clicking on tab1 ------ this table is not loaded .... it was loading the scene selected) Last time I left it Had given.
I have to open Table 1 ---- when I click on Program 1.
This is expected behavior if you press tab bar controller and tab In the items of the bar, using the navigation controller. The user will expect to keep the status of viewing on the tab side.
If you are still the app you want to go back to the root view controller and navigation controller to return to the tab, you Tabbar controller: didSelectViewController: to apply the method delegate method What does: Tells the representative that the user has selected an item in the tab bar. Then call the method call PopToRootViewController Animit: This will help you when tapping on the Users tab: Root all view controller on the stack view controller updates makes it pop and performance. For example:
No comments:
Post a Comment