Simple UICollectionView to show images behaves odd: Some Images are displayed correct, some at wrong position, some missing at all
I want to show images in a grid on iPhone using a UICollectionView, showing 3 images a row. For a "dead simple test" (as I thought), I've added 15 JPG images to my project, so that they'll be in my bundle and I can load them simply via [UIImage imageNamed:...]. I think I've done everything correct (setting up & registering UICollectionViewCell subclass, use of UICollectionViewDataSource Protocol methods), however, the UICollectionView behaves very weird: It shows only a few of the images in the following pattern: First line shows image 1 & 3, second line is blank, next line like the first