跳转到指定的页面0921
int index = (int)[[self.navigationController viewControllers]indexOfObject:self];
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:(index -2)] animated:YES];
这个成功了
;;
//gzz0921tiao 这个没有成功
// for (UIViewController *temp in self.navigationController.viewControllers) {
// if ([temp isKindOfClass:[HuayanReadController class]]) {
// [self.navigationController popToViewController:temp animated:YES];
// }else {
// [self.navigationController popToRootViewControllerAnimated:YES];
// }
// }