for (UIViewController * vc in self.navigationController.viewControllers) {
if ([vc isKindOfClass:[目标控制器 class]]) {
目标控制器 * con = (目标控制器 *)vc;
[self.navigationController popToViewController:con animated:YES];
}