Reputation: 1354
How do i load a new xib on an orientation change on the ipad?
Upvotes: 0
Views: 589
Reputation: 4480
In the rotation method, like willAnimateRotationToInterfaceOrientation:duration, you can call initWithNibName:bundle on a UIViewController or something like:
[[NSBundle mainBundle] loadNibNamed:name owner:self options:nil];
Upvotes: 1