I created a split view application that starts with a splash page of a modal view. The problem is that the modal view always starts in portrait mode, even if the ipad is in landscape. If I rotate the ipad several times, it rotates accordingly. I set UIInterfaceOrientation to my Info.plist, but it has no impace.
in didFinishLaunchingWithOptions , I use the following code
... [self.window addSubview:splitViewController.view]; SplashViewController *modalView = [[SplashViewController alloc] intiWithNibName:nil bundle:nil]; modalView.modalPresentationStyle = UIModalPresentationFullScreen; [splitViewController presentModalViewController:modalView animated:YES]; ...
Any suggestions on how I can guarantee that the modal view runs in the landscape?
Aaron source share