can not redraw rect from callback
<p>I am new on iphone</p>

<p>what I wanna do is to render image to iphone</p>

<p>so I have one module to generate image data, after done invoke callback function to notify UIView, in UIView I have I have callback function to give the image to UIImage, and then I setNeedsDisplay and return.</p>

<p>In my UIView class drawRect:(CGRect)rect I call drawImage, but it does not called, no refresh, also I got NSAutoreleaseNoPool UIImage autoreleased with no pool in place error.</p>

<p>any helps?</p>

<p>thanks</p>
