title: adding multiple images programmatically in iPhone
body: <p>I want to add around 80 imageview on my view and then later on want to change their images very frequently(multiple times per second, working on an audio meter). I have added images using following code:</p>
  
  <pre><code>-(void)drawAudioMeter {
      UIImageView *imgvw = nil;
      int x = 1;
      for(int i = 0; i&lt;80; i++) {
          imgvw = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"line_dull.png"]];
          imgvw.tag = i+100;
          imgvw.frame = CGRectMake(x, 400, 3, 30);
          x = x + 4;
          [self.view addSubview:imgvw];
          [imgvw release];
      }
  }
  </code></pre>
  
  <p>Now how will I change the images in the imageviews as I am not having any name for the imageviews. Using a for loop every second on all the images does not look as feasible option to me. Can some one point me out how should I do it?</p>