Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment