title: Issue in collection view flow layout
body: <p>I am using collection view in ipad, it had 3 columns</p>
  
  <p>Everything looks good if items count is in multiple of 3.</p>
  
  <p>If whenever , I show items and itemscount%3=2 spacing are changed in last row.</p>
  
  <p>I use below methods:</p>
  
  <pre><code>-(CGFloat)collectionView:(UICollectionView *)collectionView
      layout:(UICollectionViewLayout *)collectionViewLayout
      minimumInteritemSpacingForSectionAtIndex:(NSInteger)section
  {
      return 40.0;
  }
  -(CGFloat)collectionView:(UICollectionView *)collectionView
      layout:(UICollectionViewLayout *)collectionViewLayout
      minimumLineSpacingForSectionAtIndex:(NSInteger)section
  {
      return 40.0;
  }
  -(UIEdgeInsets)collectionView:(UICollectionView *)collectionView
      layout:(UICollectionViewLayout *)collectionViewLayout
      insetForSectionAtIndex:(NSInteger)section
  {
      return UIEdgeInsetsMake(40.0,40.0,40.0,40.0);
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/xAjZF.png" alt="enter image description here"></p>
  
  <p>Please look at spacing at last row..</p>