I have a subclass of UIViewController which displays a small view in the center of the display. shouldAutorotateToInterfaceOrientation: returns YES.
The problem: when I rotate the device, the centered view rotates as it should. But it also changes its size to full-screen. The (bad) workaround: in didRotateFromInterfaceOrientation: I set the frame back to a sensible value. Result: when I rotate the device, the view rotates, blows up to fill the screen, then snaps back to its real size. Is there a way to tell the ViewController to NOT mess with the size of its view (it should just exchange width and height)? Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com