1
votes

I've a problem using a UIScrollView with subviews and vertical scrolling.

When in portrait mode it scrolls fine, but when in landscape, even if I set an arbitrary value (let's say 1400px), it doesn't really scroll along that size, removing around 400 pixels and it stops before the content is fully visible.

Any ideas?

1
Posting some code will be helpful.shannoga

1 Answers

2
votes

Did you try to set

yourScrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;

It should resize the scrollview height.