aryaxt / iOS-Slide-Menu

iOS Slide Menu with ability to add both left and right menu, and built in gesture recognizer. Similar to Path and Facebook
Other
1.53k stars 359 forks source link

navigationBarHidden in appdelegate not working. #204

Open ghost opened 8 years ago

ghost commented 8 years ago

All seems to work properly except hiding the bar.

I am trying to use the sliding menu with tabbarcontroler. I need to hide the SlidingViewController's navigationbar so that I can use my own. However, the code has no effect.

In AppDelegate.swift:

    let storyboard = UIStoryboard(name: "Main", bundle: NSBundle.mainBundle())
    let leftMenu = storyboard.instantiateViewControllerWithIdentifier("ProfileViewController")
    SlideNavigationController.sharedInstance().leftMenu = leftMenu
    SlideNavigationController.sharedInstance().navigationBarHidden = true
    SlideNavigationController.sharedInstance().navigationBar.hidden = true

Both bottom lines have no effect. Is this a bug?