2011-08-23 77 views

回答

0

試試這個:

- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController 
{ 
     UINavigationController *navController = [tabBarController.viewControllers objectAtIndex:_tabBarController.selectedIndex]; 
     [navController popToRootViewControllerAnimated:NO]; 
} 
相關問題