mattgemmell/MGSplitViewController — Issue #50: Showing a New ViewController above MGSplitViewController in Full screen mode is not working. 
Author: rajatmohanty
Created: 2011-11-12 10:16:56+00:00
State: open

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];

}