title: Accessing image with a tag in UIImageview
body: <p>I'm trying to compare two images that is stored as an array of UIImageView. </p>
  
  <p>How can I access a particular image through a tag?</p>
  
  <p>EDIT: If images were stored as separate UIImageView I would have compared</p>
  
  <pre><code>imageView1.image == imageView2.image;
  </code></pre>
  
  <p>But since it is stored as an array I'm confused to access it. Ideally it would be </p>
  
  <pre><code>someArray[1].image == someArray[2].image;
  </code></pre>
  
  <p>But it is not viable.</p>