[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2]
animated:YES];
或
for (UIViewController *temp in self.navigationController.viewControllers) {
if ([temp isKindOfClass:[你要跳转到的Controller class]]) {
[self.navigationController popToViewController:temp animated:YES];
}
}
popToViewController用法(亲测可用)
最新推荐文章于 2017-04-07 18:34:45 发布