• 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: Why do things wind up under the nav bar after rotation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why do things wind up under the nav bar after rotation?


  • Subject: Re: Why do things wind up under the nav bar after rotation?
  • From: David Duncan <email@hidden>
  • Date: Thu, 26 May 2011 14:44:15 -0700

On May 26, 2011, at 2:39 PM, G S wrote:

>>> Kinda seems like the framework would call that, but I guess not.
>>
>> It should and this shouldn't be necessary. A bug report would be good here.
>
> Yes, I'm going to file one.  While this workaround straightens the
> layout after rotation, it's a little janky because things snap into
> place after the rotation's done instead of animating smoothly into
> place.
>
> Also, it doesn't work with anything but custom view controllers.  For
> example, I present a simple information panel in a UIView, but that's
> illegible after rotation because it's shoved up under the nav bar.  To
> fix that, I'm going to have to derive a whole class from
> UIViewController (or make a category) just to call layoutSubviews
> after a rotation.  Lame.


This makes me wonder how your view controllers are laid out. I don't suppose you added the contents that are having trouble by taking a view from one view controller and adding it as a subview to a view owned (directly or indirectly) by another view controller?
--
David Duncan

_______________________________________________

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: 
 >Why do things wind up under the nav bar after rotation? (From: G S <email@hidden>)
 >Re: Why do things wind up under the nav bar after rotation? (From: G S <email@hidden>)
 >Re: Why do things wind up under the nav bar after rotation? (From: David Duncan <email@hidden>)
 >Re: Why do things wind up under the nav bar after rotation? (From: G S <email@hidden>)

  • Prev by Date: Re: Why do things wind up under the nav bar after rotation?
  • Next by Date: Using an iPhone to control a Mac- source code?
  • Previous by thread: Re: Why do things wind up under the nav bar after rotation?
  • Next by thread: IKScannerDeviceView transferMode set to memory
  • Index(es):
    • Date
    • Thread