跳轉(zhuǎn)到指定的類
for (UIViewController *controller in self.navigationController.viewControllers) {
if ([controller isKindOfClass:[要返回的類名 class]]) {
[self.navigationController popToViewController:controller animated:YES];
}
}
跳轉(zhuǎn)到指定的類
for (UIViewController *controller in self.navigationController.viewControllers) {
if ([controller isKindOfClass:[要返回的類名 class]]) {
[self.navigationController popToViewController:controller animated:YES];
}
}