Previously, you could set the size in viewDidLoad using contentSizeForViewInPopover. But in iOS 5.1, the presentation style of the main view controller was changed to a slide, and not like a standard popover. As far as I can tell, it is still UIPopover, but we can no longer resize it. I tried contentSizeForViewInPopover in the view, as well as setPopoverContentSize on popover as suggested on the developer forums , and none of them had any effect.
the reference to the UISplitViewController class does not confirm this change, as well as the class references for the UIViewController or UIPopoverController , and the View Controller Programming Guide still shows the old style of the main view controller.
You can try changing the height of the table view inside your detailed view, and then hide the background . I have not tried this myself.
In addition, since the map is displayed in your detailed view, you can turn off the right-hand gesture, which now invokes the master view , so that this does not interfere with the gestures of the map.
arlomedia
source share