I have used AMSideMenu in my project and performing segue(from navigation bar button and UIButton) to another view controller from home screen is very slow. Any idea why is it so?
I have used the following code in Appdelegate.m
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)self.window.rootViewController;
container.panMode = MFSideMenuPanModeNone;
UINavigationController *navigationController = [storyboard instantiateViewControllerWithIdentifier:@"navigationController"];
UIViewController *leftSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"leftSideMenuViewController"];
[container setLeftMenuViewController:leftSideMenuViewController];
[container setRightMenuViewController:nil];
[container setCenterViewController:navigationController];