I have an UIImageView
in the in the controller's view with a distance of 20% of the screen height from the top of the view. ie I want to set the 20 % of the screen height as the top Constraint
of the UIImageView
.
Can I implement this without adding a transparent view, which is how I do it now (by setting its height to be 20% of the screen Height), to the container view ?