4

I have a view controller that I'm presenting in a universal iOS application. On the iPhone, it displays using a custom UIPresentationController which adjusts the frame of the presented view using UIPresentationController's frameOfPresentedViewInContainerView method. This is working fine, however...

On iPad, I'd like the same view controller to display as a popover when the UITraitCollection has a Regular width, but to switch to my custom UIPresentationController when in Compact width. Is this achievable?

ndg
  • 2,585
  • 2
  • 33
  • 58

1 Answers1

1

It's impossible.Straight from Apple's "What's new in iOS8 guide"

With the amount of screen space available, the iPad has a regular size class in the vertical and horizontal directions in both portrait and landscape orientations.

enter image description here

wj2061
  • 6,778
  • 3
  • 36
  • 62