Closed SadhuRus closed 9 years ago
How is it not working? Not showing?
Yes. After push segue i try to swipe left/right but menu not showed =( P.S:I have navigation controller with many segues. I want to see the left menu anywhere
you need to implement the delegate in every controller that needs it to be visible
- (BOOL)slideNavigationControllerShouldDisplayLeftMenu
{
return YES;
}
After it "back button" change to "menu" icon. And i can't go back.
All Work if i comment this: But it no best solution... /*
(void)navigationController:(UINavigationController )navigationController willShowViewController:(UIViewController )viewController animated:(BOOL)animated { if ([self shouldDisplayMenu:MenuLeft forViewController:viewController]) viewController.navigationItem.leftBarButtonItem = [self barButtonItemForMenu:MenuLeft];
if ([self shouldDisplayMenu:MenuRight forViewController:viewController]) viewController.navigationItem.rightBarButtonItem = [self barButtonItemForMenu:MenuRight]; }
*/
Great, but if you comment that out, it'll always show the menu on every viewController pushed into the nav stack, if that's the expected behavior for you, great
That's the expected behavior for me. Thank you
Why left menu not working after push-segue to another viewController?