How to check between play/pause button images
<p>Lets say I have image1 as<code>Play Icon.png</code>and image2 as <code>pause.png</code>.</p>

<p>I want to do something like this, if the buttons image is image1 do this and if buttons image is image2 do that.</p>

<pre><code>[playpauseButton setImage:[UIImage imageNamed:@"Play Icon.png"] forState:UIControlStateNormal];

[playpauseButton setImage:[UIImage imageNamed:@"pause.png"] forState:UIControlStateSelected];
</code></pre>

<p>how do i find out wheter its <code>Play Icon.png or pause.png</code>.</p>

<p>Thanks</p>
