title: UIView not updating after delete UIImageView
body: <p>I have more than 4 images in the screen. Every image has id, then sharing the image id to email. After deleting any of the image from view, still i'm getting all the image ids including deleting image id. How to get update image ids without deleted image id.</p>
  
  <pre><code>     mmageView=[[UIImageView alloc]initWithFrame:CGRectMake(200,200,350,199)];
            ageView setUserInteractionEnabled:YES];
  
  
                  [mmageView setImageWithURL:[NSURL URLWithString:[productimg_array objectAtIndex:[sender tag]-1]] placeholderImage:nil options:SDWebImageProgressiveDownload completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) {
  
  
                  }];
  
                  NSLog(@"Tag %d",[sender tag]);
  
                  [mmageView setTag:[sender tag]-1];
  
  
                  ObjectAddedToScreen *object = [[ObjectAddedToScreen alloc] init];
                  object.productDescription = [descript_array objectAtIndex:[sender tag]-1];
                  object.view = mmageView;
                  [self.objectsAddedToScreen addObject:object];
  
  object.object_sku=[sku_array objectAtIndex:[sender tag]-1];
  
                [self.view addSubview:mmageView];
  </code></pre>
  
  <p>Delete the image using Longpress:</p>
  
  <pre><code>-(void)dblongPress:(UILongPressGestureRecognizer*)sender{
  
   CGPoint tapLocation1 = [sender locationInView: self.view];
              for (UIImageView *imageeView1 in self.view.subviews) {
                  if (CGRectContainsPoint(imageeView1.frame, tapLocation1)) {
  
                      // [imageeView1 removeFromSuperview];
  
                      [imageeView1 setHidden:YES];
  
  
  }
                  }
              }
  </code></pre>