Friend-LGA / LGSideMenuController

iOS view controller which manages left and right side views
MIT License
2.05k stars 331 forks source link

Not Show full screen side menu #173

Closed jaag12 closed 3 years ago

jaag12 commented 5 years ago

Hello before you thank the work done in the library. My side menu is not shown in full screen is cut to the height of the main menu, what am I doing wrong ?. My configuration is this:

`SideMainVC *sideMainController=[[SideMainVC alloc] initWithNibName:@"SideMain" bundle:nil];

    MainPrincipalVC *mainPrincipal = [[MainPrincipalVC alloc] init];

LGSideMenuController *sideMenuController = [LGSideMenuController sideMenuControllerWithRootViewController:mainPrincipal
                                                                                       leftViewController:sideMainController
                                                                                      rightViewController:nil];
sideMenuController.leftViewWidth = 250.0;
sideMenuController.leftViewPresentationStyle = LGSideMenuPresentationStyleScaleFromBig;
sideMenuController.leftViewBackgroundBlurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleRegular];`

Thanks you

asheesh5391 commented 5 years ago

Hey I am facing the same issue. Have you got the fix?

asheesh5391 commented 5 years ago

Hey You can use

    `lgSideMenuVC.modalPresentationStyle = .currentContext`
Friend-LGA commented 3 years ago

Take a look at demo projects. they have good examples of how to setup everything.