//退出当前控制器
[self.navigationController popViewControllerAnimated:YES];
//返回到某个控制器
for (UIViewController *vcHome in self.navigationController.viewControllers) {
if ([vcHome isKindOfClass:[WorkFlowViewController class]]) {
[self.navigationController popToViewController:vcHome animated:YES];
}
}
网友评论