Here, when you display the popover controller from the view, first you need to check what information you have now, and based on the orientation, you can select a frame and open the popover controller from the current view. You can do the following:
if(UIAppDelegate.intOrientation == 1) { popoverController.popoverContentSize = CGSizeMake(570, 720); [self.popoverController presentPopoverFromRect:CGRectMake(100, 150, 570, 720) inView:self.view permittedArrowDirections:NO animated:YES]; } else { popoverController.popoverContentSize = CGSizeMake(820, 500); [self.popoverController presentPopoverFromRect:CGRectMake(102, 135, 820, 500) inView:self.view permittedArrowDirections:NO animated:YES]; }
source share