rskokan / MMNotes

3 stars 0 forks source link

Strange image scrolling on iPad #21

Closed rskokan closed 12 years ago

rskokan commented 12 years ago

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.