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

Trouble with right Menu #18

Closed
chlebta opened this issue Nov 5, 2015 · 3 comments
Closed

Trouble with right Menu #18

chlebta opened this issue Nov 5, 2015 · 3 comments

Comments

@chlebta
Copy link

chlebta commented Nov 5, 2015

When I use :

  sideMenuController.leftView().addSubview(menuController.view)

my code works fine but when I use :

   sideMenuController.rightView().addSubview(menuController.view)

my app crash and I get this error :
fatal error: unexpectedly found nil while unwrapping an Optional value

@Friend-LGA
Copy link
Owner

Did you use this method before?

- (void)setRightViewEnabledWithWidth:(CGFloat)width
                   presentationStyle:(LGSideMenuPresentationStyle)presentationStyle
                alwaysVisibleOptions:(LGSideMenuAlwaysVisibleOptions)alwaysVisibleOptions;

@chlebta
Copy link
Author

chlebta commented Nov 6, 2015

Yep this fixed the error but the menu view is empty, now I'm using RESideMenu and the menu work's fine, but with LGSideMenuController the menu tableview is not shown

@Friend-LGA
Copy link
Owner

I updated demo projects. Check it out, left and right side menus works fine.
If it's not help you, show me more your code.

@chlebta chlebta mentioned this issue Dec 14, 2015
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

2 participants