I have got an UIViewController
containing an UIScrollView
. Initially automaticallyAdjustsScrollViewInsets
is not set (so it should default to YES
).
On some user interaction I set automaticallyAdjustsScrollViewInsets
to NO
, so I can set my own contentInset
on the scroll view.
After doing so nothing happens. What do I have to call afterwards?
Calling setNeedsDisplay
on the scroll view doesn’t help.