aryaxt / iOS-Slide-Menu

iOS Slide Menu with ability to add both left and right menu, and built in gesture recognizer. Similar to Path and Facebook
Other
1.53k stars 359 forks source link

Menu is closed when call presentViewController from LeftMenu in IOS 9 #181

Open smolskyaleksey opened 9 years ago

smolskyaleksey commented 9 years ago

I have some code in Left view controller

 UIViewController *vc =[UIViewController new];
 vc.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(dissmis:)];
 [[SlideNavigationController sharedInstance] presentViewController:[[FCNavigationViewController alloc] initWithRootViewController:vc] animated:YES completion:nil];

- (void) dissmis:(id)sender
{
    [[SlideNavigationController sharedInstance] dismissViewControllerAnimated:YES completion:nil];
}

when I call dissmis: menu was closed and had a frozen state.

smolskyaleksey commented 9 years ago

I found solution Need to set up modalPresentationStyle = UIModalPresentationOverFullScreen for FCNavigationViewController