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?
I use an UITabBarController and different views with auto layout. The views are longer than the screen of the device. Switching from one tab to the other lead sometimes to the problem you describe. This only happened if the view has been scrolled down before the switch. I tried all the advice here but this did not work for my case. My solution was to scroll up again before leaving the view. At least a work around for this bug in iOS 6:
if you are still searching for an answer i found it today after two days of headbanging the wall. I will just paste you the code, but the most important thing is when you load your scrollView..
all this is loaded before
-(void)viewDidLoad
notice the height is in both instances 800, which is crucial for resolving this problem. good luck with your project ;)
have you tried this?
In my case this was what solved my problem.