title: Objective c zooming and relative positioning : Math
body: <p>I've a UIScroll view which has a UIImageView.<br>
  I have written the code for zooming.</p>
  
  <p>Now lets say I've the labels at<br>
  0,10<br>
  10,10  </p>
  
  <p>for the image at initial size.<br>
  But when the image zooms, these labels still remain at the same spot. I want the labels to move to the correct position when zoomed in and out.</p>
  
  <p>How can this be accomplished.<br>
  lets say there is a square of 10x10 at the origin 0,0<br>
  I've a label at 0,10 and 10,10</p>
  
  <p>Now when we zoom to 2x  the size of square is 20x20
  so I want the label at 0,20 and 20,20.</p>
  
  <p>I hope my doubt is now clear.</p>