Zoom a rotated image inside scroll view to fit (fill) frame of overlay rect
问题 Through this question and answer I've now got a working means of detecting when an arbitrarily rotated image isn't completely outside a cropping rect. The next step is to figure out how to correctly adjust it's containing scroll view zoom to ensure that there are no empty spaces inside the cropping rect. To clarify, I want to enlarge (zoom in) the image; the crop rect should remain un-transformed. The layout hierarchy looks like this: containing UIScrollView UIImageView (this gets arbitrarily