title: Closing UIImageView using tags
body: <p>I am defining an UIImageView like this:</p>
  
  <pre><code>UIImageView *backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"fondo1"]];
  
  backgroundView.tag = 7;
  </code></pre>
  
  <p>Then on another method, I try to dismiss the UIView using following method, which is called from a button action:</p>
  
  <pre><code>-(void) closeSideTasks {
      for (UIImageView *subview in [self.view subviews]) {
          if (subview.tag == 7) {
              [subview removeFromSuperview];
          }
      }
  }
  </code></pre>
  
  <p>But this is throwing an exception:</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ToDoItemsTableViewController closeSideTasks:]: unrecognized selector sent to instance
  </code></pre>
  
  <p>Where is my error?</p>