
Hi,
Following code is creating memory leak:
UIImage * img1 = [UIImage imageNamed:@"myimage.png"];
I have to replace existing image with new image.
What could be the possible solution?
Thanks

Hi,
In my application i crated 4 UIImageview in .xib file and then hide and displayed the image using following code:
myButton.hidden=YES; //for hiding
and
myButton.hidden=NO; //for displaying
Thanks