title: How to set a UIView's origin reference?
body: <p>I am creating a UIImageView and adding it in a loop to my view, I set the initial frame to 0,0,1,47 and each passage of the loop I change the center of the image view to space them out.</p>
  
  <p>I am always using 0 as the origin.y</p>
  
  <p>The problem is the origin reference is in the centre of the image view, assuming we was in interface builder, this is equivalent to the image below.</p>
  
  <p>How can I change the reference point in code ?</p>
  
  <p><img src="https://i.stack.imgur.com/XQ1eG.png" alt="enter image description here"></p>