Hi there...
All of my widths, heights, positions and everything are set relative to views and such, so if the iphone is rotated it should "expand to fit" as it were. :)
How would I go about telling the iphone to be in "landscape mode" ie: refresh, but now all widths are heights and all heights are widths?
Thanks Tom
EDIT Here is the code I currently have... it still doesn't work - I can't seem to figure out how to make it work
In my view controller (not the root view controller) I have this method:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
(i have also tried putting this method into my root view controller, but that didn't work either)
Then in my viewDidLoad
method I have this:
[self.view setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight];
[self.view setAutoresizesSubviews:YES];
This doesn't work. :( at least not in the simulator.