Re: How to remove iPad popover?

2015-04-15 Thread Kyle Sluder
On Wed, Apr 15, 2015, at 12:00 AM, Kyle Sluder wrote: Segues are transient objects that only exist Er, I meant that only exist long enough to perform their action. In other words, if you perform a popover segue, that UIStoryboardSegue object ceases to exist once the popover is onscreen. --Kyle

Re: How to remove iPad popover?

2015-04-15 Thread Gerriet M. Denkmann
On Tue, Apr 14, 2015, at 11:49 PM, Gerriet M. Denkmann wrote: And if there is any way (easy or not) to get this (in a non-deprecated way), I would be very interested to hear about it. There is not. Please file a Radar. I filed two: 20549495 Unable to get popover controller. 20549450

Re: How to remove iPad popover?

2015-04-14 Thread Gerriet M. Denkmann
On 15 Apr 2015, at 08:59, Roland King r...@rols.org wrote: On 15 Apr 2015, at 09:49, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: On iPad (portrait orientation) there is on the left a MasterView, overlapping the DetailView. (i.e. splitViewController.displayMode =

Re: How to remove iPad popover?

2015-04-14 Thread Roland King
On 15 Apr 2015, at 09:49, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: On iPad (portrait orientation) there is on the left a MasterView, overlapping the DetailView. (i.e. splitViewController.displayMode = UISplitViewControllerDisplayModePrimaryOverlay) When I tap on the DetailView,

Re: How to remove iPad popover?

2015-04-14 Thread Dave Fernandes
You can dismiss the master popover using -[UIPopoverController dismissPopoverAnimated:] However, getting the popover controller in the first place is a bit of a pain. The only way I know is to provide a UISplitViewControllerDelegate object to the UISplitViewController (I instantiate one in the

Re: How to remove iPad popover?

2015-04-14 Thread Gerriet M. Denkmann
On 15 Apr 2015, at 09:32, Dave Fernandes dave.fernan...@utoronto.ca wrote: You can dismiss the master popover using -[UIPopoverController dismissPopoverAnimated:] However, getting the popover controller in the first place is a bit of a pain. The only way I know is to provide a

Re: How to remove iPad popover?

2015-04-14 Thread Kyle Sluder
On Tue, Apr 14, 2015, at 11:49 PM, Gerriet M. Denkmann wrote: And if there is any way (easy or not) to get this (in a non-deprecated way), I would be very interested to hear about it. There is not. Please file a Radar. By the way: UIStoryboardPopoverSegue has a popoverController property.