Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You used to be able to set the size in viewDidLoad using contentSizeForViewInPopover. But in iOS 5.1, the presentation style of the master view controller was changed to slide in rather than appear as a standard popover. As far as I can tell, it still <em>is</em> a UIPopover, but we can no longer modify its size. I tried contentSizeForViewInPopover on the view, as well as setPopoverContentSize on the popover <a href="https://devforums.apple.com/message/631201" rel="nofollow noreferrer">as suggested on the developer forums</a>, and neither had any effect.</p> <p>The <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UISplitViewController_class/Reference/Reference.html" rel="nofollow noreferrer">UISplitViewController class reference</a> doesn't acknowledge this change, nor do the class references for <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/contentSizeForViewInPopover" rel="nofollow noreferrer">UIViewController</a> or <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UIPopoverController_class/Reference/Reference.html" rel="nofollow noreferrer">UIPopoverController</a>, and the <a href="http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/AboutViewControllers/AboutViewControllers.html#//apple_ref/doc/uid/TP40007457-CH112-SW10" rel="nofollow noreferrer">View Controller Programming Guide</a> still shows the old style of the master view controller popover.</p> <p>You could try changing the height of the table view inside your detail view, and then <a href="https://stackoverflow.com/a/9632716/462162">hide the popover's background</a>. I haven't tried this myself.</p> <p>Also, since your detail view is showing a map, you might want to <a href="https://stackoverflow.com/a/9970778/462162">disable the right-swipe gesture that now invokes the master view</a>, to prevent that from interfering with the map gestures.</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