I have 2 images that are exactly the same, just different colors. I use them to set 2 UIImageViews images. I am trying to create a progress effect and my view hierarchy looks like this
UIView >UIImageView
> UIView > UIImageView
All of the views are set to content mode Scale to fill other than the lowest UIImageView which is set to Left mode. This works in terms of the progress illusion if I slowly make the 2nd image (lying on top of the first) visible along the positive x axis.
The issue I have is that if I set the content mode to Left the image which should be the same has different proportions to the first image. If I set the mode for the second imageview to Scale To Fill, the images are exactly the same proportion but the image is scaled as the imageview expands along its x axis, when I would like it to be fixed.
How does one combine Scale To Fill with the Left content mode, or how could I fix this proportion issue?