I'm currently working on a project which involves ViewDeck by Inferis.
I'm looking to create the Facebook style menu interface. However i can't seem to manage to keep the titlebar local instead of globally for the deckController.
So basically, i'm having a rootviewcontroller which pushes a login view controller on stack. Nothing fancy. but when i'm logged in, it needs to push the IIViewDeckController on stack, but without all the navigation bars
How it codes:
neighbourhoodViewController *nextViewController = [[neighbourhoodViewController alloc] initWithNibName:@"neighbourhoodViewController" bundle:nil];
menuViewController *leftViewController = [[menuViewController alloc] initWithNibName:@"menuViewController" bundle:nil];
IIViewDeckController* deckController = [[IIViewDeckController alloc] nitWithCenterViewController:nextViewController leftViewController:leftViewController];
deckController.leftSize = 100.0f;
[self.navigationController pushViewController:deckController animated:YES];
The outcomming is the following screenshot:
As you can see the menu is "in the viewcontroller" but it needs to be outside, so the navigation bar should slide right together with the middle TableViewController
I've tried to hide all the navigationbars but nothing seems to work. Also i've tried launching it from app delegate, since that's in the example. It works. However, i need to run it from the Login View Controller.
Thnx