My application consists of a UIImageView inside a UIScrollView , and I am showing a large image inside it. Scrolling allows the user to pinch to zoom in / out, and everything seems to be working fine.
However, when my application terminates and then restarts, UIScrollView displays the image again at its original zoom level (which is currently set to display the entire image by scaling it in the Aspect Approach mode).
I would really like to restart my application and reopen UIScrollView with the same parameters that were set when the application terminated. Therefore, if my image is currently maximized and scrolls to the very bottom, this should be a view when I reopen the application.
How can i do this?
source share