Hey for some reason I am struggling with trying to set the height and width of one of my image views. I want to set it so the height only goes for 20% of my screen. I know to re
A faster / alternative way to change the height and/or width of a UIView is by setting its width/height through frame.size:
UIView
frame.size
let neededHeight = UIScreen.main.bounds.height * 0.2 yourView.frame.size.height = neededHeight