Hi,
I am trying to display multiple images in a UIScrollView using the following code:
The problem is, it does not work. . . Am I doing something wrong?
Thanks for all your responses

I am trying to display multiple images in a UIScrollView using the following code:
Code:
[self.view addSubview:jarView];
NSMutableArray *imagesArray = [[NSMutableArray alloc] init];
for (int i=0; i<10; ++i) {
UIImageView *imgView = [[UIImageView alloc] init];
imgView.image = [UIImage imageNamed:@"Aqua_Transparent"];
imgView.frame = CGRectMake(160, 380, 25, 25);
[self.jarView addSubview:imgView];
[imagesArray addObject:imgView];
[imgView release];
}
The problem is, it does not work. . . Am I doing something wrong?
Thanks for all your responses