I use the MMdrawercontroller
in my objective-c application for the left menu.
I have in the navBar a button to open/close the menu. The problem is that the menu is only opened and not closed.
This is my code:
- (IBAction)showMenu:(id)sender {
AppDelegate * app = (AppDelegate *) [[UIApplication sharedApplication] delegate];
[app.drawerController toggleDrawerSide:MMDrawerSideLeft animated:true completion:nil];
}
EDIT: The IBAction is never called when the menu is opened (even if, when I debug, there is no view covering my centerVC)