Showing a New ViewController above MGSplitViewController in Full screen mode is not working. #50

Open
rajatmohanty opened this Issue Nov 12, 2011 · 1 comment

Comments

Projects
None yet
2 participants

I have add a uibarbutton item on detail View controlller & on selection of which i am trying to show a new view controller on Full screen mode But it is not working(Working in portrait mode but if i rotate it to Landscape mode it is not working.

-(IBAction)openPreviewScreen:(id)sender
{

NewViewController *newViewControllerObj=[[[NewViewController alloc] initWithNibName:@"NewViewController" bundle:nil] autorelease];

detailViewNavController = [[UINavigationController alloc] initWithRootViewController: newViewControllerObj];
detailViewNavController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
detailViewNavController.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentModalViewController:detailViewNavController animated:YES];

}

tgb commented Feb 6, 2012

Attach the modal view controller to the MGSplitViewController rather than the master or detail views. (Duplicate of issue #14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment