Automatically sizing a UIPopoverController

2016-08-09 Thread Rick Mann
I'm having a hard time getting my popover to size automatically based on autolayout constraints. I want to fix the width, but have the height auto-adjust. It contains a single UITextVIew. There are constraints for each edge, and a width constraint. Google doesn't seem to help much. I tried set

Re: UIPopoverController and UIToolbar interactions

2014-01-15 Thread Rick Mann
On Jan 14, 2014, at 20:45 , Matt Neuburg wrote: > Another possibility, if you're determined to use a popover segue, is to set > the toolbar `userInteractionEnabled` to NO while the popover is showing. I had initially put checks into the segue handling to prevent multiple popovers (agreed: vil

Re: UIPopoverController and UIToolbar interactions

2014-01-14 Thread Matt Neuburg
't go through the normal >> UIPopoverController delegate chain (i.e. >> -popoverControllerShouldDismissPopover:). This is really problematic, as it's >> really inappropriate for those items to be tapped while the popover is >> showing. Any suggestions? My book devotes

Re: UIPopoverController and UIToolbar interactions

2014-01-14 Thread Gordon Apple
out of buttons in that toolbar. One of the > things I notice is that when a popover is open, you can still click on other > buttons in the UIToolbar, and it doesn't go through the normal > UIPopoverController delegate chain (i.e. > -popoverControllerShouldDismissPopover:). This is real

Re: UIPopoverController and UIToolbar interactions

2014-01-13 Thread Sixten Otto
Yeah, I mentioned that in my last paragraph. On Mon, Jan 13, 2014 at 3:33 PM, Gideon King wrote: > …or set your passthroughViews to nil *after* your presentPopover call and > have it just dismiss the popover as normal when you tap something on the > toolbar. > > Regards > > Gideon > > On 14 Jan

Re: UIPopoverController and UIToolbar interactions

2014-01-13 Thread Gideon King
…or set your passthroughViews to nil *after* your presentPopover call and have it just dismiss the popover as normal when you tap something on the toolbar. Regards Gideon On 14 Jan 2014, at 8:28 am, Sixten Otto wrote: > I tend to agree that it's problematic, but it is deliberate. From the > d

Re: UIPopoverController and UIToolbar interactions

2014-01-13 Thread Rick Mann
notice is that when a popover is open, you can still > click on other buttons in the UIToolbar, and it doesn't go through the normal > UIPopoverController delegate chain (i.e. > -popoverControllerShouldDismissPopover:). This is really problematic, as it's > really inap

Re: UIPopoverController and UIToolbar interactions

2014-01-13 Thread Sixten Otto
r, and it doesn't go through the > normal UIPopoverController delegate chain (i.e. > -popoverControllerShouldDismissPopover:). This is really problematic, as > it's really inappropriate for those items to be tapped while the popover is > s

UIPopoverController and UIToolbar interactions

2014-01-13 Thread Rick Mann
ormal UIPopoverController delegate chain (i.e. -popoverControllerShouldDismissPopover:). This is really problematic, as it's really inappropriate for those items to be tapped while the popover is showing. Any suggestions? -- Rick signature.asc Description: Message signed with OpenPGP usi

Re: UIPopoverController

2013-03-13 Thread Alex Zavatone
popover's viewController with initWithContentViewController like so: PopoverContentViewController *popoverContent = [[PopoverContentViewController alloc] init]; // Setup the popover for use from the navigation bar. infoPopoverController = [[UIPopoverC

UIPopoverController

2013-03-13 Thread koko
I have seen some popovers that have a wider frame with text information. I cannot find how to specify this style and text an am asking for a pointer to the documentation for this feature. -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

[iPad] Using UISplitViewController with a UITabBarController - UIPopoverController - Question

2010-11-07 Thread Philip Vallone
Hi, I hope I can explain my issue correctly. I have a UISplitViewController which uses a UITabBarController as the Details view. Everything works except on my UITabBarController I can not see the UIPopoverController on the Navigation Bar. I have a class called DetailViewTabBarController which