Reputation: 35953
I have an app I would have two XIBs: one for portrait and one for landscape.
I am not sure what is the best way to do that, but my guess is... I design both XIBs on Interface Builder and link them to UIViewControllers and create another class to manage them. But what class? UINavigationController?
How do I switch with animation between the two XIBs?
Do I have to declare both and have the switching method on the app delegate?
Can you guys point to some tutorial or example?
thanks.
Upvotes: 1
Views: 142
Reputation: 5590
Search Google Books for Beginning iPhone 3 Development: Exploring the IPhone SDK By Dave Mark, Jeff LaMarche. Chapter 5 provides great information on supporting landscape and portrait mode.
Upvotes: 1