I've been looking for a great pattern to deal with the orientations on the iPad without any luck. I know that there are already a lot of topics about this on stackoverflow but no one is really great so don't waste your time adding this topic as a duplicate.
As any iPad application, you have to deal with (at least) 2 orientations (landscape and portrait).
How are you dealing with this ?
- Do you use two different ViewController ?
- Do you use the willRotateToInterfaceOrientation:duration methods ?
- How do you avoid duplicate code ?
Thanks