Hello ,
I am supposed to display a tab bar on a screen with 5 tabs
The problem I am facing is that I am supposed to show a different page from the class assigned to the first tab
So essentially the page to be displayed is different than the class asisgned to first tab and the class assoicated with the first tab should not be shown
How do I achieve this
Code:
//this causes the class associated with the first tab to execute and display
//while I want this to be executed only when user clicks on the tab bar
[self.window addSubview:self.menuTabBar.view;
//this is the class that I want to invoke and show to the user
[self.window addSubview:viewController.view;
Thanks,
~ramdas