SMScrollView
SMScrollView copied to clipboard
possibility to set minimumZoomScale > 1.0
i'm calculating minScale manually to fit small image
Hi @ivov-dry,
Are you asking to scale up and stretch a small image to fit the scrollView.bounds
, but still be able to zoom-out to a scale of 1.0? Or do you want the minimumZoomScale
to be set to a value larger than 1.0, such that user won't be able to zoom-out to a scale of 1.0?
I am thinking of adding a boolean property (e.g.: stretchToFit
), that if set, will stretch and fit smaller images to scrollView bounds but would still allow zooming out to 1.0 scale. Such that minimumZoomScale
will never be larger than 1.0.
Thank you for you feedback!
Hi @smnh, I was thinking about stretching image where minimumZoomScale be > 1.0 (similar to Photos behaviour).