I have a UITabBar switches places when the iphone changes orientation and that works fine, but I want the controls within the view of the first tab to stay static regardless of the position of the phone.
I feel like I’m missing something obvious?
Edit:
Basically, the controls are always landscape but the tab bar must switch orientations. It this possible?
For the view in which you don’t want the controls to readjust, disable the autoresizing:
[self.view setAutoresizesSubviews:NO];. This will prevent all controls (subviews) from responding to interface orientation changes and yet the tab will still respond. You might also have to set the autoresizingMask of the current view:[self.view setAutoresizingMask:UIViewAutoresizingNone];Addition : try the following for all controls you don’t want to rotate