|
1 2 3 4 5 6 7 8 9 10 11 12 |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIDevice currentDevice]setOrientation:UIInterfaceOrientationPortrait]; // Add the tab bar controller’s view to the window and display. [window addSubview:tabBarController.view]; //Take this line this line and put it in your code. tabBarController.selectedIndex = 2; [window makeKeyAndVisible]; return YES; } |
Incoming search terms:
- xcode set initial tabview



