It seems like when I pinch to zoom on a UIScrollView, the content view's frame size changes with the zoom. If the UIScrollView's zoom is 2, then the frame size of the content view becomes (2*width, 2*height). However, when I zoom the scroll view programmatically using -setZoomScale:animated
, the content view's frame does not resize.
Does anyone know if this is normal behavior, and if so, how I can programmatically zoom while resizing the frame?
Thanks!