IOSimageView scaling

I had the following code in the resize event which was working fine prior to upgrading to 2.1

Now an unscaled full size portion of the image shows in the iOSImageView ignoring the the content mode I have set to ScaleAspectFill

If Self.Size.Height > Self.Size.Width Then
’ Portrait
if download = 1 then
ImageView1.Image = ImageD
ImageView1.Image = ImageP
end if
ImageView1.Image = ImageL
End If

any reason for this not working in the update?

Just to add that project runs as expected on version 2017 1.1

I branched to create a version with 2017r2.1, spent about an hour on it, and then deleted the branch. I’m back on 2017r1.1 for my iOS project.