Created
August 25, 2011 19:36
-
-
Save wonkwh/1171617 to your computer and use it in GitHub Desktop.
Create Tabbar without XIB(1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: | |
(NSDictionary *)launchOptions | |
{ | |
UITabBarController *tabBarController = [[UITabBarController alloc] init]; | |
[self.window setRootViewController:tabBarController]; | |
// iOS 4.0 이전 | |
//[window addSubView:[tabBarController view]]; | |
[tabBarController release]; | |
[self.window makeKeyAndVisible]; | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment