when the bar is hidden and I deploy a side menu and screen change got this error
when the bar is hidden and I deploy a side menu and screen change got this error,the bar is hidden on all screens and I get a blank space.
How can I fix this so that when you leave the normal screen display bar?
THANKS A LOT
My guess is that your sidemenu updates the bar button that opens it. A quick fix would be to call [self refreshNavbar] after the sidebar is closed. This should reset the alpha on the menu item to 0.
not working this andreamazz :(
Any help Please???:(
Did you try to show the navbar when the sidemenu is being opened? What side menu library are you using?
Im using REFrostedViewController, as I do that "Did you try to show the navbar When the SIDEMENU is being opened?"
Hi @natijauskas,
you can call [self showNavbar]; when the side menu is presented.
when the side menu is presented,How Can I do that? In what method?ViewDidLoad?I have to import something to call self showNavbar in frostedviewcontroller? Sorry, but Im new with this. Thanks a lot!
Set your view controller as the delegate for REFrostedViewController (implement REFrostedViewControllerDelegate), then implement the method:
- (void)frostedViewController:(REFrostedViewController *)frostedViewController willShowMenuViewController:(UIViewController *)menuViewController
{
[self showNavbar];
}
Ok I add in my view controller
- (void)frostedViewController:(REFrostedViewController *)frostedViewController willShowMenuViewController:(UIViewController *)menuViewController
{
[self showNavbar];
}
But it doesnt work :(
Did you set your view controller as the frosted controlelr delegate? Something along these lines:
[self.frostedViewController setDelegate:self];