popToViewController
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2]
animated:YES];
for (UIViewController *temp in self.navigationController.viewControllers) {
if ([temp isKindOfClass:[DetailViewController class]]) {
[self.navigationController popToViewController:temp animated:YES];
}
}