Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

CylonGlitch

macrumors 68030
Original poster
Jul 7, 2009
2,958
268
Nashville
The issue I'm having is that if I have several sub views (full screen) for my iPhone app, that are displayed by the "addSubView" process. Here is what I'm seeing.

1) Press button to get to subview A
2) Rotate Phone to get to subview B (B is just a landscape designed version of A)
3) Press the back button to get to the main view again (this kills off the subViews)
4) Rotate the phone back to portrait
5) Press the button to go to subview A again; but A is rotated landscape and tries to draw it in landscape.

I don't know why it does this; it seems like pressing the back button, which kills the subviews they don't get updated when the phone is re-rotated (makes sense, that's not a problem) but when I re-add the subviews I would think they would automatically realign to the orientation of the phone; but they don't.

Any thoughts?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.