Putting the ShelfViewController's navigation controller inside another navigation controller
I'm trying to use the shelf view controller as the center view controller and then have a view controller to the left that slides in like on facebook so I'm using PKRevealController. I've inserted the following code at the bottom of the template's didFinishLaunching....
UIViewController leftViewController = [[LeftMenuViewController alloc] init]; PKRevealController revealController = [PKRevealController revealControllerWithFrontViewController:self.rootNavigationController leftViewController:leftViewController options:nil]; self.window.rootViewController = revealController;
As you can see in the image below, there is a weird offset at the top (hard to see because it is white but it is the size of the status bar I believe) being created once I go to the BakerViewController (The Shelf View controller is fine). I can't figure out where to fix this! The navigation bar was also acting weird but I've managed to offset that by 20. Any help appreciated :D
