When migrating a project from Xcode 4 iOS 6, I noticed the UIScrollView instance is not behaving properly. Sometimes it just seems to be stuck, and only when I pinch in or out to change the scale does it start scrolling properly.
I noticed a few replies in a similar question, along the lines of removing positioning constraints, that I tried (even though I do need the constraints eventually) and it didn't work.
Has anyone encountered this behaviour and found a way to fix it?
I was able to make it work by using
self.automaticallyAdjustsScrollViewInsets = NO;
in the view controller holding the scrollview. Just put it after the scroll view's instantiation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With