Modal View using UIModalPresentationFormSheet appears offscreen
问题 I have a UIViewController that implements - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOrientation == UIInterfaceOrientationPortrait); } Then, I try to popup a modal on top of that view: ModalViewController *modalViewController = [[ModalViewController alloc] init]; modalViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical; modalViewController.modalPresentationStyle =