This could be a duplicate post but I haven't found the solution in any of this:
I'm setting my
UINib *nib = [UINib nibWithNibName:@"CollectionViewCell"
[_collectionView registerNib: nib forCellWithReuseIdentifier:@"bCell"];
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
Ok I think this could be useful for future problems with this...
It was because of constraints on the StoryBoard. I don't really understand why that happens, because I just had fixed an horizontal space. I removed the horizontal space as constraint for that View and everything works fine.
Well, let's life flow.