iOS-Slide-Menu icon indicating copy to clipboard operation
iOS-Slide-Menu copied to clipboard

Disable the right menu while keep the right bar button item showing

Open SnapeServerus opened this issue 10 years ago • 2 comments

How to disable the right menu while keep the right bar button item showing?

SnapeServerus avatar Sep 02 '15 09:09 SnapeServerus

If you mean using the right bar button item for another purpose (not for the right menu), I had the same issue, and I achieved it by adding the button myself in the storyboard. It would be a good idea to know how to do it programmatically, but at least mine's working. just add a button to your navigation bar, and attach it to an IBAction

SCLDev avatar Nov 16 '15 22:11 SCLDev

return false for slideNavigationControllerShouldDisplayRightMenu and set a new UIBarButtonItem for self.navigationItem.rightBarButtonItem.

funkydonkey123 avatar Feb 05 '16 21:02 funkydonkey123