Re: Why do things wind up under the nav bar after rotation?
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: G S <email@hidden>
- Date: Thu, 26 May 2011 14:39:10 -0700
>> 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.
_______________________________________________
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