Hi all. I'm having a layout problem on all my screens after they're rotated. It seems as though the view loses all knowledge of the navigation bar at the top after a rotation, so subviews are shoved up under it. Check it out:
http://i.stack.imgur.com/mFALa.png It's not just this view. It also occurs on a view that contains a UITableView, which is loaded from a XIB (unlike the one above). I have autoresizing set in all directions. The problem corrects itself on the screen depicted above if I push another view onto the navigation stack and then pop it, but I don't know what's being called to bring about the correction. On the tableview screen, the view corrects itself when the tableview is tapped. I've tried calling setNeedsLayout after the rotation finishes, but that had no effect. I also tried calling viewWillAppear (thinking that might have triggered the correction), but that didn't do it either. Any ideas? Thanks! Gavin _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
