Note that there are some explanatory texts on larger screens.

plurals
  1. POCompiling against 5.1 SDK forces new UIPopoverController "slide in" presentation of popovers -- how to disable?
    text
    copied!<p>Compiling my iPad app against the 5.1 SDK (release version) causes UIPopoverController to show itself using the new "slide in" from the left presentation. This completely breaks my popover presentation, which relied on having a "black" style header and a certain height. I've tried setting <code>presentsWithGesture</code> to <code>NO</code>, but that only seems to disable the swipe gesture, and doesn't stop the presentation style.</p> <p>This same app, without being recompiled, but running on iOS 5.1, uses the old popover presentation style. So I know iOS 5.1 still supports the backwards-compatible method. How can I choose to activate the old presentation of the popover?</p> <p>This is really critical to my app, unfortunately.</p> <p>Failing that, is there any way to get the "black" style header on the new popovers?</p> <hr> <p>Although I have a UISplitViewController in my app, it is not responsible for showing the popover. Instead, I'm using this code:</p> <pre><code> [self.popoverController presentPopoverFromRect:ipadButtonMenu.frame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES]; </code></pre> <p>This question is a cross-post from the Apple Developer Forums <a href="https://devforums.apple.com/message/629281#629281" rel="noreferrer">here</a>. I'm hoping somebody has the answer.</p> <hr> <p>Expected presentation: <img src="https://i.stack.imgur.com/geWMR.jpg" alt="enter image description here"></p> <p>Presentation after compiling under iOS 5.1 SDK: <img src="https://i.stack.imgur.com/g0ZFC.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload