0

I am using SWRevealViewController for my side menu. and it works fine. But now what I want to do is add tab bar to the bottom, Remove the menu button from the navigation bar, and add it as the first item of the tabbar.

enter image description here

When click on the first tab item the side menu should come as normal way from theleft side. How I can do this with SWRevealViewController

Please help me. Thanks

IRD
  • 1,127
  • 2
  • 8
  • 15

1 Answers1

0

Create Property and connect to tab bar button

@property (weak,nonatomic) IBOutlet UIBarButtonItem *BarButton;

then put in viewDidLoad: methods

_BarButton.target = self.revealViewController;
_BarButton.action = @selector(revealToggle:);

I think its helping you

Nishant Gupta
  • 131
  • 15