Im having a problem with my UICollectionView. Initially it displays fine, showing a grid of cells, each cell with a single UIImageView. These
UICollectionView
UIImageView
Right after
UICollectionViewCell * cell=[collectionView dequeueReusableCellWithReuseIdentifier:@"cell" forIndexPath:indexPath];
Just add this line,
[[[cell contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];