We have a xib that was currently designed for the iPhone. We are porting the app to iPad.
We are using the paged portion of UIScrollView. We have autoresizing masks set for width and height. On the initial load for iPad the frame width is 320, which of course makes the UI look bad.
What’s odd to us is that if you rotate the device, it “picks” up the new size based on the iPad screen width. It is then correct from that point forward.
Do we need to initialize the frame width?
Did you check the box that said “Targeted for iPad” when you create the XIB?

If not, you have to manually edit the Xib (or recreate it again)
You need two different XIBs for the same controller. Instantiate them like this.