iphone OS 4.0- issues in displaying higher resolution images
<p>I am using the new Retina display feature of ios 4.0 in my iphone application.
I added the images for higher resolution with the naming convention as image@2x.png to my existing image folder.</p>

<p>eg. I am adding the image in the following way:</p>

<p>UIImageView *toolBarBg=[[UIImageView alloc] initWithFrame:CGRectMake(0,0,320,88) ];</p>

<p>NSString *toolBarBgImgPath=[[[NSBundle mainBundle]resourcePath]stringByAppendingPathComponent:@"bg_btm_bar.png"];</p>

<pre><code>[toolBarBg setImage:[UIImage imageWithContentsOfFile:toolBarBgImgPath]];
</code></pre>

<p>I am having the image named "bg_btm_bar@2x.png" in my image folder as well.</p>

<p>But when I am running my application it is not taking the higher res image.</p>

<p>I am not understanding that how to make the application use the higher res image.
Please help me out!</p>
