iPhone PopToRootViewController and immediately push a new view controller
[self.navigationController popToRootViewControllerAnimated:NO];
LoginViewController *loginViewController = [[[LoginViewController alloc] initWithNibName:@"TableView" bundle:nil] autorelease];
[self.navigationController pushViewController:loginViewController animated:YES];
The above code causes the rootviewcontroller to be shown (not animated) but the new viewcontroller is not showing up. Is the above code wrong? How am I supposed to do the described?
Mac Mini, Mac OS X (10.5.6)