2012-08-09 56 views

回答

0

好的。找到答案:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
{ 
    UITabBarController *tabBar = (UITabBarController *)self.window.rootViewController; 
    tabBar.selectedIndex = 2; // zero based index of desired default tab to launch with. 
    return YES; 
} 
相關問題