Bilbo Baggins
Bilbo Baggins

Reputation: 3692

UIScrollView gets stuck when user changes the view

I have a UIScrollView with 5 labels. If the user scrolls it up such that currently only 3rd, 4th and 5th labels are visible and then presses a button which takes him to a new view. When he presses the back button, the UIScrollView resets such that the 3rd label becomes the 1st label, 4th becomes 2nd and 5th becomes 3rd.

The top 2 disappear. I cannot scroll up to see the first 2 labels no matter what.

Upvotes: 1

Views: 731

Answers (1)

Bilbo Baggins
Bilbo Baggins

Reputation: 3692

I found the solution to this problem on this question - UIScrollview Autolayout Issue

I'm keeping this question so that if somebody googles for 'UIScrollView gets stuck' he'll find the answer. The other question was hard to find.

Upvotes: 1

Related Questions