转自http://blog.csdn.net/hufeng825/article/details/7243823

[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2
      animated:YES];




   for (UIViewController *temp inself.navigationController.viewControllers) {
           if ([temp isKindOfClass:[你要跳转到的Controller class]]) {
              [self.navigationControllerpopToViewController:temp animated:YES];
           }
       }

相关文章: