我有3个视图(xib'd)第三个视图打开一个模态视图(也是xib'd)。 我的目标是处理模态视图并跳转到视图#1。如何跳转到特定视图?
我用下面的代码,但它什么也没做。
self.statusView = [[StatusViewController alloc] initWithNibName:@"StatusViewController" bundle:nil];
[self.navigationController popToViewController:self.statusView animated:YES];
[self.navigationController popToViewController:
我也试过以下,结果相同。 [self.navigationController.viewControllers objectAtIndex:0] animated:YES];
我要疯了......
statusView有定期synthetized的访问,并表示我要跳到视图。
这实际上非常有帮助,请让我尝试跟进此事 - 即使我因为缺乏知识而无法了解发生了什么事情,但这很好。 – amok 2009-09-15 04:51:58