romaonthego / REMenu

Dropdown menu inspired by Vine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toogleMenu is not Working in UIViewController

vishal91 opened this issue · comments

I am trying to use REMenu in UIViewController with Segue .

I am UINavigationController set to UIIViewController .

I am getting this error

-[UINavigationController toggleMenu]: unrecognized selector sent to instance 0xa13aa80
2014-07-10 15:42:07.708 Noise[3372:607] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationController toggleMenu]: unrecognized selector sent to instance 0xa13aa80'

You need to implement the toggleMenu method as I did for example purposes.

I am using the same code what you did . But its not taking the view which i draw on storyboard . Nor does it implements Push Segues . It takes View from the Implementation view thats it .

HOW TO SUPPORT STORYBOARD and PUSH SEGUE ???

i am also facing the same issue....

I am facing the above issue 3 days onwards. Still I am not getting the solution. Please help me out from this issue.

I got same issue And I sloved it by :
First : Implementing the ToggleMenu
Then : instead of using target:self.navigationControler I used target:self when adding the MenuBarButtonItem :
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Menu" style:UIBarButtonItemStyleBordered target:self action:@selector(toggleMenu)]; )