All my widths, heights, positions, and all are set relative to views, etc., so if the iphone is rotated, it must "expand to fit." :)
How can I say that the iphone is in "landscape mode", that is: update, but now all widths are heights, and all heights are widths?
Thanks tom
EDIT
Here is the code that I currently have ... it still doesn't work - I can't figure out how to make it work
In my view, the controller (and not the root view controller) I have this method:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
(I also tried putting this method in my root controller , but that didn't work either)
Then in my method viewDidLoad, I have the following:
[self.view setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight];
[self.view setAutoresizesSubviews:YES];
.:( , .