The problem was caused by initializing the scrollView in viewDidLoad. Since the screen is designed for iPhone, it is smaller than for iPad. And when viewDidLoad is called, the views where only loaded from the nib, it still has the design-time dimensions.
So I moved the scrollView init stuff to viewWillAppear, where the layout and dimensions have already been applied to the actual device.
The problem was caused by initializing the scrollView in viewDidLoad. Since the screen is designed for iPhone, it is smaller than for iPad. And when viewDidLoad is called, the views where only loaded from the nib, it still has the design-time dimensions. So I moved the scrollView init stuff to viewWillAppear, where the layout and dimensions have already been applied to the actual device.