How to Open Side Menu on UIButton Click event.
avinashvaghasiya opened this issue · comments
in storyboard, cirl+ press the menu button , drag and release into this view controller and choose "send action - presentLeftMenuViewController"
link your button to this fun.
- (IBAction)sideMenuButton:(id)sender {
// toggle the right side menu
[self.sideMenuViewController presentRightMenuViewController];
}
- (IBAction)leftSideMenuButton:(id)sender {
// toggle the right side menu
[self.sideMenuViewController presentLeftMenuViewController];
}