title: how can I get the scale factor of a UIImageView who's mode is AspectFit?
body: <p>how can I get the scale factor of a UIImageView who's mode is AspectFit?</p>
  
  <p>That is, I have a UIImageView with mode AspectFit.  The image (square) is scaled to my UIImageView frame which is fine.</p>
  
  <p>If I want to get the amount of scale that was used (e.g. 0.78 or whatever) how can I get this directly?</p>
  
  <p>I don't want to have to compare say a parent view width to the UIImageView width as the calculation would have to take into account orientation, noting I'm scaling a square image into a rectangular view.  Hence why I was after a direct way to query the UIImageView to find out.  </p>
  
  <p>EDIT:  I need it to work for iPhone or iPad deployment as well.  </p>