title: How to add array of images to UIImage view programmatically in ios4?
body: <p>I need to display array of images in a single view which have various effect in icarousel(time machne,coverflow,etc...)i'm going to use single style where all images have to be displayed..
  HERE IS MY CODE IN .M FILE..</p>
  
  <pre><code>UIImage *img=[[UIImageView alloc]initWithFrame:CGRectMake(30, 30, 290, 400)];
  NSLog(@"hi");
  
  img.image=[NSArray arrayWithObjects:[UIImage imageNamed:@"Cover_0.png"],
                        [UIImage imageNamed:@"Cover_1.png"],
                        [UIImage imageNamed:@"Cover_2.png"],
                        [UIImage imageNamed:@"Cover_3.png"],
                        [UIImage imageNamed:@"Cover_4.png"],
                        [UIImage imageNamed:@"Cover_5.png"],
                        [UIImage imageNamed:@"Cover_6.png"],
                        [UIImage imageNamed:@"Cover_7.png"],nil];
  </code></pre>
  
  <p>But its not working...Can anyone help it out...</p>