Setup:
Tab Bar App
First View is a ScrollView which has an ImageView as its subview, loaded from a file.
All of the above configured in IB.
Application properly launches and I can scroll around the image and all is right with the world.
I have it scaling in and out with pinch controls no problem as well.
Now however I am trying to utilize setZoomScale to 1.0 when the user double taps... And it does indeed set the ZoomScale to 1.0..
The problem is however, that it moves the view to position 0,0 when it does it... completely ignoring the contentOffset values... Even when my next call after the setZoomScale is a call to set the contentOffset to soemthing else, nothing happens...
So, I'm a bit confused.. I'm not sure why the setZoomScale refocuses the view to 0,0 and worse yet, I don't understand why the view would not move to the contentOffset that the next line of code says it should even if it does reset it to 0,0.
Any ideas or suggestions? I know I could use zoomToRect, but I would really like to know what is going on here.