从Xib回到StoryBoard中的不同ViewController

问题描述:

我的项目中有StoryBoard和xib。 我知道如何去厦门国际银行从情节串连图板,这是代码:从Xib回到StoryBoard中的不同ViewController

ChosenPlacesViewController *cpvc = [[ChosenPlacesViewController alloc]initWithNibName:@"ChosenPlacesViewController" bundle:nil]; 
    [cpvc setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal]; 
[self presentModalViewController:cpvc animated:NO]; 

但我怎么从厦门国际银行去不同的视图控制器在我的故事板?

我知道我可以使用:

[self dismissViewControllerAnimated:NO completion:NO]; 

但我想去不同的视图控制器(的TabBar故事板),而不是最后一个。

您应该了解更多关于导航视图控制器的信息。这取决于你的视图控制器的层次结构。有一个viewControllers属性。您可以设置控制器的新订单,最后一个将可见。

更多信息:http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html