Iphone + main Window + orientation problem -
I have MainWindow.xib in the application.
In the interface builder, I will rotate the main window from portrait to landscape and some UI Controlloles have been put over it.
With this I save it.
After this, when I run the application, although during design time I created everything in landscape mode always display things in portrait mode.
Please help me
The IB just sets your XIB files Is the visual controller that manages the orientation
The default UIViewController or Uinaavigation controller has details on it.
Specifically, you need to overload
// override to allow orientation other than the default portrait orientation - (BOOL) should be metered by theUrrorTatronics Interface: Interface Orientation {// Returned Orientation Support for Return Yes (Interface Orientation == UIN Effect Orientation Portrait Upside Down? No: Yes); }
For more information, take a look at the documentation for UIViewController.
Comments
Post a Comment