IPhone how to properly resize view when rotating device?

The view containing the button must be auto-resized using your mask ( UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight ) On the containing view autoresizesSubviews must be set to YES The button must use UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleTopMargin.

The view containing the button must be auto-resized using your mask (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight). On the containing view autoresizesSubviews must be set to YES. The button must use UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleTopMargin.

Thank you that worked great. – Oscar Gomez Oct 15 '09 at 21:36.

I have been trying to resize my view inside a view Controller with no luck so far. Basically I have a button at the very bottom of my view and when the orientation changes from Portrait to Landscape the button is no longer visible, because its just too far down now. How can I resize this view so that when the orientation changes the button is still visible?.

And basically every other possible combination, with no luck so far. I know I can do this by manually repositioning the button, but is there a better way to do this?.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions