If you pass a UIButton wrapped in a UIBarButtonItem as a 'custom view' of the slide menu, clicking the button doesn't work, because the action and target are not set to the button, but they are set to the UIBarButtonItem
There are endless possibilities with a UIBarButton with a custom view. Not going to add a fix for a single scenario.
Do not use a UIBarButton with a custom view as the menu buttons
If you pass a UIButton wrapped in a UIBarButtonItem as a 'custom view' of the slide menu, clicking the button doesn't work, because the action and target are not set to the button, but they are set to the UIBarButtonItem
UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithCustomView:someButton]; [[SlideMenu sharedInstance].rightBarButtonItem = item;