Zooming disturbing drawn UIImage in UIView
<p>I have UIView in which I am drawing UIImage</p>

<pre><code>- (void)drawRect:(CGRect)rect
{
    [myImage drawInRect:rect];
}
</code></pre>

<p>This UIView is added on UIScrollView and returned as zoomable view i.e</p>

<pre><code>- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
{   
    return iImageBgView;
}
</code></pre>

<p>Problem is coming when I do the zoom. Image which is drawn is getting shown pixelet i.e blur or disturbed. can anyone help me on "How to refresh / redraw this image"</p>

<p>I am manually refreshing / redrawing the image by calling </p>

<pre><code>[self setNeedsDisplay];
</code></pre>

<p>but no use. seems like it is taking the previous coordinate and draw as per that instead of updated coordinate.</p>

<p>Thanks,</p>

<p>Sagar  </p>
