title: Calculate position in image after ScaleAspectFill in UIImageView
body: <p>I'm loading images of various sizes inside an UIImageView. Some one the images come with annotations, each annotation has a unique position in the image. The annotation coordinates are relative to the original image size.</p>
  
  <p>How do I transform the coordinates so the annotation show up at the same position in the UIImageView after resizing?</p>
  
  <p>I could use <code>AVMakeRectWithAspectRatioInsideRect</code> to calculate the new position, but this only works with <code>ScaleAspectFit</code> and not <code>ScaleAspectFill</code> which I must use.</p>