UIScrollview Autolayout Issue
autolayout, ios, ios6, iphone, uiscrollview
Solution
The following code snippet in the containing view controller also seems to solve the problem, without relying on explicit sizes:
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
self.mainScrollView.contentOffset = CGPointZero;
}
It does reset the content offset to the origin, but it seems that so do the other answers.
Problem
I have a problem with autolayout(maybe) and my scrollview! My Problem - I scroll down 2.Then I push to another View 3.Then I go back and the scrollview looks like that and I'm not able to scroll to the highest point.(I see it in the bouncing of the scrollview) Can anybody help me?