how to identify the dynamically created UIImageView by tag
<pre><code>    if([imageview superview])
{
    [imageview removeFromSuperview];
    [myView addSubview:imageview];  
}
else if([imageview superview])
{
    [imageview removeFromSuperview];
    [myView addSubview:imageview];  
}
else if([imageview superview])
{
    [imageview removeFromSuperview];
    [myView addSubview:imageview];}
</code></pre>

<p>Here i dynamically create multiple imageviews and set tag values and add it as a subview to the UIView...I need to identify which imageview is in superview position and remove it and add another by tapping it...pls urgent help pls</p>
