imagesArray is an array of UIImageViews
for (int i = 0; i < [imagesArray count]; i++) {
[[imagesArray objectAtIndex:i] setImage:[UIImage imageNamed:@"set-image.png"]];
}
This will always set the last or i(th) image correctly. It will not loop and change all the images I need. Is there another way to manage this?
Aucun commentaire:
Enregistrer un commentaire