For an iOS 8 iPhone/Portrait-only app with an app extension (that's supposed to ignore the base app's restrictions and become Universal), I'm having trouble dealing with the extension use in iPads in particular. What appears is a form sheet within a full-screen (grayed out) modal presentation with my view controller content within whether Portrait or Landscape. Where exactly the dimensions of the form sheet are specified is a mystery to me (not in IB) as I use AutoLayout and all sides are supposed to hug all borders, but instead I get something the size of an iPhone for the form sheet in the middle of the screen.
I've "hacked" my way to specify the size of the iPhone-sized view in loadView of the controller, and determine that it is within an iPad, and change the view controller's preferredContentSize to an arbitrary value.
So, what is the correct/efficient way to identify the content size in the system modal presentation view controller and then set the size of the content in the modal presentation as it appears AutoLayout in IBseems to have no effect?