Frame height prints 0
<p>As the question states, when I tried to set an image view inside a UIView class, to have a corner Radius of its frame height divided by 2, it wasn't working, so I decided to print the frame height and it was 0. </p>

<p>The height or width for every view in this class prints 0 I don't know why... Thanks in advance for your answers.</p>