popToViewController的用法(跳转到你想跳转到的那个控制器)

[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:?] animated:YES];

或 for (UIViewController *temp in self.navigationController.viewControllers) {
if ([temp isKindOfClass:[你要跳转到的Controller class]]) {
[self.navigationController popToViewController:temp animated:YES];
}
}
上一篇:BNUOJ 13105 nim博弈


下一篇:java 反射(reflect)总结,附对象打印工具类