121212121212
[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];
}
}
本文探讨了在iOS应用中如何使用navigation controller进行页面跳转和管理,包括使用navigation controller popToViewController方法和通过类名筛选跳转。适用于iOS开发者。
700

被折叠的 条评论
为什么被折叠?



