I've got a TabBar-application and sometimes use the following code to programmatically switch to another tab's view:
This works for all views but one that does switch tab, but does not load the content (ie view) that is connected to that tab.
Pressing the tab works fine.
Do you have any idea where to start looking?
Code:
tabBarController.selectedIndex = 3;
This works for all views but one that does switch tab, but does not load the content (ie view) that is connected to that tab.
Pressing the tab works fine.
Do you have any idea where to start looking?