I am using Auto Layout in my iPhone app and have a UIScrollView
. I need to change the content size of my scroll view at several points while my apps running (so setting the content size in viewWillAppear
is useless as I have seen this suggested in other places).
When I change it, my subviews jump about, presumably because it breaks the auto layout constraints.
So how can I approach changing my scrollview content size with auto layout enabled?
Thanks.