check which image has been set to imageview
<p>I have used the animated images on image view concept. It is working fine.Now whenever when I touch that image view I want to check which image is placed on that image view. How should I do this. I have used the following code to make the images animated.</p>

<pre><code>addimage.animationImages=[NSArray arrayWithObjects:  
                          [UIImage imageNamed:@"Softindia.png"],
                          [UIImage imageNamed:@"images.png"],
                          nil];

addimage.animationDuration=25.0;
addimage.animationRepeatCount=0;

[addimage startAnimating];
[self.view addSubview:addimage];
</code></pre>

<p>Now what should I do on the touch event of image view. Please provide me some solution to resolve this.</p>

<p>Thanks in advance.</p>
