Hi developer's, i need help please,
I know that if i have rootViewController that start with tabBar i can create UITabBar like this:
But my problems is:
First, how can i create tabBar if the tabBar is not my rootView? my app start with login that is simple viewController, and after login the tabBar will appear.
Second, where should i create the tab bar, in appDelegate or some else?
Thank's!!!
I know that if i have rootViewController that start with tabBar i can create UITabBar like this:
Code:
UITabBarController *tabController = (UITabBarController *)self.window.rootViewController;
tabController.selectedIndex = [defaults integerForKey:kOptionLastTabSelectedKey];
tabController.delegate = self;
But my problems is:
First, how can i create tabBar if the tabBar is not my rootView? my app start with login that is simple viewController, and after login the tabBar will appear.
Second, where should i create the tab bar, in appDelegate or some else?
Thank's!!!