iOS-Slide-Menu icon indicating copy to clipboard operation
iOS-Slide-Menu copied to clipboard

Menu is closed when call presentViewController from LeftMenu in IOS 9

Open smolskyaleksey opened this issue 8 years ago • 1 comments

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 avatar Sep 18 '15 15:09 smolskyaleksey

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

smolskyaleksey avatar Sep 18 '15 15:09 smolskyaleksey