I have a UIScrollView with a UIImageView subview created in IB. The first time I create a UIImage and set it to be the image in the UIImageView all works fine. If I create a new UIImage and set it to be the image in the UIImageView the image is offset by some (seemingly) random offset.
How can I make this work?
It seems that this should be as easy as setting a new image but it seems that as a minimum the following is necessary:
Where imageScrollView, imageScrollView and newImage are previously instantiated.