- Reference to the current tab in storyboard UITabBarController
- - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
- {
- UITabBarController *tabController = (UITabBarController *)self.window.rootViewController;
- self.currentController = [[tabController viewControllers] objectAtIndex:0];
- }
- self.currentController = tabController.selectedViewController