• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UINavigationController in Popover
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UINavigationController in Popover


  • Subject: Re: UINavigationController in Popover
  • From: Gordon Apple <email@hidden>
  • Date: Sat, 18 Dec 2010 14:24:19 -0600
  • Thread-topic: UINavigationController in Popover

I've tried a variety of means to fix this, but the animations seem to
collide and the nav controller wins.  Thus the delayed invocation in
resetting the size to where it should be.  I notice that Apple's Pages app
simply keeps the popover size the same for all panels, so it avoids the
problem.


On 12/17/10 10:49 AM, "Matt Neuburg" <email@hidden> wrote:

> On Thu, 16 Dec 2010 14:37:00 -0600, Gordon Apple <email@hidden> said:
>> I've Googled this and have seen that others have had this problem, but no
>> good solutions.  When using a UINavigationController in a popover, where the
>> content can be different sizes, the nav controller seems to always wants to
>> make the popover full screen height, ignoring popover size settings.  The
>> only way I've found to defeat it is to reset the popover size with a 0.5 sec
>> delayed invocation.  It works, but it's ugly.  It expands, then contracts to
>> the set size.  Is there any better way to do this?  (I'm still on 3.2
>> because I want to make sure it works there.)
>
> My experience is that if your navigation controller's root view controller
> supplies its own popover size in contentSizeForViewInPopover, the navigation
> controller does exactly the right thing - it expands that size to allow for
> its own nav bar, and passes this on up to the popover controller, which sizes
> the popover correctly. (If you're not seeing that, it may be because you're
> testing under 3.2; I have no idea.) m.
>
> --
> matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
> A fool + a tool + an autorelease pool = cool!
> AppleScript: the Definitive Guide - Second Edition!
> http://www.apeth.net/matt/default.html#applescriptthings



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: UINavigationController in Popover (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: File name issue with German umlauts
  • Next by Date: Re: UTI for ScreenSaver, Automator Actions and PreferencePanes?
  • Previous by thread: Re: UINavigationController in Popover
  • Next by thread: NSSlider Mouse Up
  • Index(es):
    • Date
    • Thread