I resized the view that I put into a UIScrollView, but the scroll view does not know that the size changed.
So, I tried removing the view and re-adding it to the UIScrollView, but that did not help.
How can I convince the UIScrollView that its contents have changed size?
Thanks.
Did you remember to set the content size of the UIScrollView (using
[scrollview setContentSize:]) to the new size? The scroll view doesn’t figure it out on its own, you have to tell it what the size of its content is.