Closed qixotic closed 8 years ago
Apologies for leaving this open for so long! As you can guess, I no longer use this code in any of my current projects. If you’re still interested in this PR, could you verify it’s compatible with Xcode 7 and provide a test image to demonstrate the issue? Thanks, and I apologize for not responding before!
This can happen specifically when using UIViewContentModeScaleAspectFill, and at least one of the dimensions is larger than the specified bounds. Since it's aspect fill, this center crops the resized image to the given bounds' dimensions.