UIPopoverPresentationController is showing full screen modal on iPhone
On iPad UIPopoverPresentationController working fine but on iPhone it is always showing full window modal popup. i am using following code: UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; MySecondViewController *contentVC = [storyboard instantiateViewControllerWithIdentifier:@"Pop"]; contentVC.modalPresentationStyle = UINavigationControllerOperationPop; // 13 UIPopoverPresentationController *popPC = contentVC.popoverPresentationController; // 14 contentVC.popoverPresentationController.sourceRect =CGRectMake(100, 130, 280, 230); self.navigationController