title: PopOver Open in Leftside up+iphone
body: <p>I want to open a popover on button click event.
  Like below image:
  <img src="https://i.stack.imgur.com/RbUmR.png" alt="enter image description here"></p>
  
  <p>But what i m getting is:</p>
  
  <p><img src="https://i.stack.imgur.com/0idXe.png" alt="enter image description here"></p>
  
  <p>The Code i had used for the popover is:</p>
  
  <pre><code>PopOver *PopOver_obj=[[PopOver alloc]initWithNibName:@"PopOver_ipad" bundle:nil ];      
  UIPopoverController  *popoverController = [[UIPopoverController alloc] initWithContentViewController:PopOver_obj];     
  popoverController.delegate = self;     
  CGSize maximumLabelSize = CGSizeMake(320.0f,200.0f);
  popoverController.popoverContentSize = maximumLabelSize;
  CGRect rect = CGRectMake(100,100, 200.0f, 100.0f);  
  [popoverController presentPopoverFromRect:rect inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
  </code></pre>