I have a two tab bar,In first tab ,i can drill down more than three... but in second tab i cannot drill down more than one.. Any ideas?
code: DemoAppdelegate.m
- (void)applicationDidFinishLaunching:(UIApplication *)application {
[window addSubview:tabBarController.view];
}
First tab controller is "FirstViewController"
in FirstViewController.m i have written to drill down to "billsummary.xib"
DemoAppDelegate *app = (DemoAppDelegate *)[[UIApplication sharedApplication] delegate];
UINavigationController *naviController = app.navigationController;
BillsSummary *aViewAController = [[BillsSummary alloc] initWithNibName:@"BillsSummary" bundle:[NSBundle mainBundle]];
[naviController pushViewController:aViewAController animated:YES];
[aViewAController release];
which is working fine.But same code for in second tab for another .xib is not working and in second tab i have not used appdelegate instead i used "self.navigationcontroller"
UINavigationController *naviController = self.navigationController;
PaymentsAmount *aViewAController = [[PaymentsAmount alloc] initWithNibName:@"PaymentsAmount" bundle:[NSBundle mainBundle]];
[naviController pushViewController:aViewAController animated:YES];
[aViewAController release];
what to do? Any help please?