I want to place an UIImageView at the half of an another UIView. I have set the constraints like this:
I need the square image view to be at the half of the orange UIView . The above position of UIImageView is correct but it slightly moves up in 6 and SE screens.
Please look at the screenshots:

Why it is happening and how to prevent the UIImageView from moving up ? Do we need some other constraints?
What should be the constraints for the Green UIButton Placed to the right side of the UIImageView?

