sochalewski / UIImageViewAlignedSwift

A UIImageView subclass which allows you to align the image left/right/top/bottom, even when contentMode is AspectFit. Swift now.
MIT License
236 stars 67 forks source link

Image duplication in iOS 13b1 #23

Closed sigursalt closed 4 years ago

sigursalt commented 5 years ago

Hi,

First off thanks much for this library!

iOS13b1 is causing a duplication of the image when using a UIImageViewAligned. If you align the image you'll see the image aligned the way you want, but you'll also see the same image in the center of the view. (both in simulator and device)

If you use UIImageViewAligned and don't align it you'll see a duplication of the image right under the UIImageView it creates.

I've attached a screenshot from Reveal below. Just a simple project with one image.

The bottom layer is referenced as UIImageViewAlignedSwift.UIImageViewAligned, and the top is the UIImageView the library creates.

Screen Shot 2019-06-06 at 8 09 55 AM

Thanks again!

yuriandryu commented 5 years ago

I have the same problem! If the image is aligned, 2 images appear, one aligned and the second in the center of the original. Please pack it as soon as possible!

ToshMeston commented 5 years ago

Same.

skytramontanor commented 4 years ago

Same