Re: managing split view iPad
Re: managing split view iPad
- Subject: Re: managing split view iPad
- From: Andrea Mattiuz <email@hidden>
- Date: Tue, 20 Jul 2010 10:08:03 +0200 (CEST)
thank you mmalc for the tip,
but I don't have a navigation controller in the view xib file that I will
charge, because I have an only navigation controller on the right side,
declarated on the MainView xib file, an I work changing it.
When I tap on the left side I modified the controller with this code, into a
switch construct in the RootViewController:
case 8:{
ViewSincronizzaViewController *viewSincronizza =
[[ViewSincronizzaViewController alloc] initWithNibName:@"ViewSincronizza"
bundle:[NSBundle mainBundle]];
self.viewSincronizzaViewController = viewSincronizza;
viewSincronizza.navigationItem.title = [menu objectAtIndex:indexPath.row];
[mainDelegate.detailViewController.navigationController pushViewController:
viewSincronizzaViewController animated:YES];
[viewSincronizza release];
}
break;
In this way it obviously continue to add a new controller on the stack, and I
don't know hot to reset this stack, in a manner that when I tap on the left
side I can show the navigation controller on the detail view, where I can't go
back on the precedent page.
Do you know something about this?
Sorry for my english and thank you so much
Andrea
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden