views:

139

answers:

2

Hi! i am trying to build an iphone app. I am trying to build it at View based application. suppose i have gone to y.xib file from x.xib nib file. and x.xib nib file has been come from root.xib file. i would like to go root.xib file from y.xib, How?

+2  A: 

Take a look at the popToRootViewControllerAnimated method on the UINavigationController.

Lounges
+1  A: 
[self.navigationController popToRootViewControllerAnimated:YES]
Dan Lorenc