iPhone - increase UIImageView size and keep the image size fixed
<p>I have a custom UIImageView class which I use to handle multi-touch events on the UIImageView. When the user touch begins, I want to increase the UIImageView's frame but keep the UIImage size fixed.</p>

<p>I tried changing the UIImageView's frame and then calling the drawInRect: method of UIImage to keep the UIImage's size fixed. But this is not working.</p>

<p>The contentMode for the UIImageView is set as ScaleAspectFit and as soon as I increase the frame size of the UIImageView, the UIImage size also increases (and is not affected by the drawInRect:)</p>

<p>Can someone please tell me how I can achieve this?</p>

<p>Thanks.</p>

<p><strong>Adding more details</strong></p>

<p>What I am trying to do is this</p>

<ol>
<li><p>Place a UIImageView on the screen with the size same as the size of the image</p></li>
<li><p>When the user selects the image, anywhere he touches, the image edits as if the user is doing multi-touch with the image</p></li>
</ol>

<p>If I increase the size of the imageview to detect touches any where, the image size also increases... Hope that makes things clearer!</p>

<p>Thanks</p>
