J'ai une barre à deux onglets, Dans le premier onglet, je peux forer plus de trois ... mais dans le deuxième onglet je ne peux pas descendre plus d'un .. Des idées?Barre d'onglets + barre de navigation
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];
quoi faire? Toute aide s'il vous plaît?
Quel environnement d'exploitation êtes-vous? Est-ce jQuery, WinForms, QT? –
Mac OS - Iphone -objectif c –