Error in Load image in NSThread?
<p>I have a url which contain image address, i want to load that image via NSThread but i am facing problem. I am doing thing like this.</p>

<pre><code>imageView =  [[UIImageView alloc] initWithFrame:CGRectMake(20, 10, 55, 57)];
[NSThread detachNewThreadSelector:@selector(showImage) toTarget:self withObject:nil];
[self.view addSubview:imageView];
 - (void) showImage {  
 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 
NSURL *url = [NSURL URLWithString:temp.strUrl]; 
UIImage *chart = [UIImage imageWithData:[NSData dataWithContentsOfURL:url]];  
[url release];
imageView.image = chart;
[pool release]; 
} 
</code></pre>

<p>Please help me on that.</p>
