I am using a UICollectionView programmatically.
I\'ve set its frame as follows:
UICollectionView *collectionView = [[UICollectionView alloc] initWithFram
I've encountered the same problem because I was initializing the elements of my collectionView (i.e. it's DataSource) in the viewWillAppear method.
I finally add just a [self.collectionView reloadData]; and it works just fine!
[self.collectionView reloadData];
Maybe you're in the same case.