push后退出到指定页面方法
in 知识 on Object-c
for (UIViewController *temp in self.navigationController.viewControllers) {
if ([temp isKindOfClass:[MovieVC class]]) {
[self.navigationController popToViewController:temp animated:YES];
}
}
in 知识 on Object-c
for (UIViewController *temp in self.navigationController.viewControllers) {
if ([temp isKindOfClass:[MovieVC class]]) {
[self.navigationController popToViewController:temp animated:YES];
}
}