I got an NSArray with 5 pictures. I want to display them one after the other in a loop. My code :
NSArray *tabImage = [[NSArray alloc] init];
tabImage = [[
You don't print anything.
You are overriding the contents of your pictoImage 20 times in a row, leaving it with the last assignment when var is 19, so it should be picto_4.png.
Also, the whole var declaration doesn't make much sense at all... first you set it to 0, then you set it to indexPath.row, and in the loop it is completely redefined....