title: UIPopoverController permitted arrow directions issues
body: <p>I have an UIPopoverController that has to shows with the arrow direction up, but when I try to show popover in the bottom of view I see this:</p>
  
  <p><img src="https://i.stack.imgur.com/61UCQ.png" alt="enter image description here"></p>
  
  <pre><code>[popoverController presentPopoverFromRect:[sender frame] inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
  </code></pre>