Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't show navigation bar item of main screen in slide menu like this plese give suggition #5

Closed
bnagarjuna opened this issue Sep 11, 2014 · 6 comments

Comments

@bnagarjuna
Copy link

screenshot_2014-09-11-10-22-35
screenshot_2014-09-11-10-23-47

@masamichiueta
Copy link
Contributor

The default controller that side bar is added is rootViewController.

[UIApplication sharedApplication].keyWindow.rootViewController

So, add the side bar to the ViewController that you want to add, for example "self".
Use the "showInViewController" method instead of the "show" method like following.

[self.sideBar showInViewController:self animated:YES];

This is the result.
ios 2014 09 12 0 07 28

@bnagarjuna
Copy link
Author

Thank you sir ...
It will working fine,but same problem raise at by using PANGesture.Please help me how to solve it.
Thanks in advance.

@masamichiueta
Copy link
Contributor

Sorry for late to reply.
There was no API to add sidebar under navigation bar, so I added new API, "- (void)handlePanGestureToShow:(UIPanGestureRecognizer *)recognizer inViewController:(UIViewController *)controller;"

I released version 1.0.2. So you can install by cocoapods.

This is a sample to use the new API.

[self.sideBar handlePanGestureToShow:recognizer inViewController:self];

@bnagarjuna
Copy link
Author

Thank you...

@irwan33
Copy link

irwan33 commented Oct 18, 2016

how to move page to "MENU 1"?

@Travloper
Copy link

How to access the sidebar i added in viewcontroller - A, in viewcontroller - B. Do i need to write all the tableview delegate & datasource method again if i need sidebar in viewcontroller - B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants