With some (large) photos, the imageView and blurredImageView versions of the image can have different frames, causing a weird "zoom in" effect where the blurred version of the image fits nicely but the underlying non-blurred version doesn't fit the screen.
Seen on iPhone 5c with photos (both landscape and portrait) taken on this device.
Solution is to set the image after setting the contentMode and clipsToBounds, as follows (within setImage method):
With some (large) photos, the imageView and blurredImageView versions of the image can have different frames, causing a weird "zoom in" effect where the blurred version of the image fits nicely but the underlying non-blurred version doesn't fit the screen.
Seen on iPhone 5c with photos (both landscape and portrait) taken on this device.
Solution is to set the image after setting the
contentMode
andclipsToBounds
, as follows (withinsetImage
method):Looks like otherwise the aspect fill scaling is not performed.