Hi, I have an UIScrollView and under it a UIImageView as subview. The UIScorllView size is 375x375 and UIImageView size is also 375x375 in mainStoryBoard. The UIImageView uses "Aspect Fill". I want the user be able to pan and scrool the UIImageView to see any part of the image in any zoom scale. For example, when I set an rectangular image 1024 x 1780 to the image view. the user shoule be able to move the image up and down to see the top and bottom portion. I found however, in my setup, the user can zoom, but they won't able pan to see the top and bottom portion of the image. It feel likes the UIImageView clip the original into sqaure and won't let use to see any portion out of this square.
How can I fix it?
Thanks