UIScrollView doesn't work correctly with Auto Layouts. I have read a lot about how to create working scroll view in code but in my case it's created in Interface Builder.
The simplest example - we auto-scroll active text field to visible area when keyboard is shown. Sample from Apple doesn't work, as well as many examples in internet (contentInset
conflicts with auto-layout constraints).
So is there a working approach for this case: UIScrollView created in Interface Builder with enabled Auto Layouts changes contentInset
and contentOffset
.