Re: Dismissing a Popover Internally

2011-07-21 Thread Matt Neuburg
On Jul 21, 2011, at 10:23 AM, Gordon Apple wrote: > After running into difficulties in the second method I proposed, I decided > that the best universal solution was to subclass UIViewController > (POViewController), add an ivar for the popover Right, that's the sort of thing I meant by "store a

Re: Dismissing a Popover Internally

2011-07-21 Thread Gordon Apple
After running into difficulties in the second method I proposed, I decided that the best universal solution was to subclass UIViewController (POViewController), add an ivar for the popover, and add methods to dismiss and change height (mainly for dynamically matching table content and for rotation)

Re: Dismissing a Popover Internally

2011-07-20 Thread Matt Neuburg
On Wed, 20 Jul 2011 12:32:07 -0500, Gordon Apple said: >UIPopoverController has a UINavigationController. Is there any decent way >to access the UIPopoverController inside a popover view to dismiss it? If I understand the question, then basically, no - and it's maddening. On the one hand you're

Re: Dismissing a Popover Internally

2011-07-20 Thread Chris Parker
Hi Gordon, On Jul 20, 2011, at 10:32 AM, Gordon Apple wrote: > UIPopoverController has a UINavigationController. Is there any decent way > to access the UIPopoverController inside a popover view to dismiss it? The > only way I have come up with is to either pass the reference down the chain, T

Dismissing a Popover Internally

2011-07-20 Thread Gordon Apple
UIPopoverController has a UINavigationController. Is there any decent way to access the UIPopoverController inside a popover view to dismiss it? The only way I have come up with is to either pass the reference down the chain, or at least put it into in the root view. In the latter case you can g