title: AutoLayout constraints and UIPopoverPresentationController
body: <p>AutoLayout seems to be battling me every step of the way with a view's size.</p>
  
  <p>I have a view controller that I use for user input, and AutoLayout seems unshakeably determined to make my view 667 pixels high.</p>
  
  <p>I've played with many variants of the layout settings, many content hugging and compression resistance combinations, and no matter what I do, AutoLayout finds a way to stretch the view to 667 pixels high.</p>
  
  <p>I use Reveal, an app that shows layout frames, constraints, etc. (revealapp.com)
  and it is showing me that the UIPopoverPresentationController is adding its own autoresizing constraints.</p>
  
  <p>Here's how my view should approximately look when presented...</p>
  
  <p><a href="https://i.stack.imgur.com/8P6OH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8P6OH.png" alt="enter image description here"></a></p>
  
  <p>Note that even though I have the "Accept" UIButton set to 30 pixels high with a 1000 priority, AutoLayout is still stretching it to meet it's weird 667 pixel high requirement.</p>
  
  <p>When I run the app, here's how my popover looks...</p>
  
  <p><a href="https://i.stack.imgur.com/NaWLC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NaWLC.png" alt="enter image description here"></a></p>
  
  <p>and when I have Reveal examine the running app, and I narrow it down to the popover, this is what Reveal shows...</p>
  
  <p><a href="https://i.stack.imgur.com/7BVQs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7BVQs.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/jqSSZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jqSSZ.png" alt="enter image description here"></a></p>
  
  <p>Note the UIPopoverPresentationController itself has these constraints on it.</p>
  
  <p>How can I control the constraints being put in by the UIPopoverPresentationController ??</p>