poptoviewcontroller的用法
父类 推子类 pushview。。。
子类返回父类 就用 poptoview
[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];
}
}