I am trying to setup a simple view that displays an image and allows users to zoom in/out and pan the image as they desire. I have autoLayout enabled and the view consists of a UIScrollView with an embedded UIImageView. Both views are sized to the entire screen.
I used the logic and code from Apple's ScrollViewSuite (the "1_TapToZoom" sample) and everything seems correct. However, when pinching the view, the ScrollView/ImageView gets all distorted and doesn't respond properly. Hard to explain the behavior, but lets just call it "funky". The size and aspect changes in no consistent manner.
My GUESS is that this has to do with autolayout constraints. Does anyone have some suggestions/fixes for this?