title: iOS7 UICollectionView in scroll direction horizontal isn't working
body: <p>Same code for iOS6 worked fine.</p>
  
  <p>For some reason when updating to iOS7 and using this layout</p>
  
  <pre><code>UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init];
  
      [flowLayout setScrollDirection:UICollectionViewScrollDirectionHorizontal];
   /
      CGSize s = CGSizeMake(self.collectionView.frame.size.height,self.collectionView.frame.size.height);
  
      [flowLayout setItemSize:s];
  </code></pre>
  
  <p>the collectionview delegate methods aren't called. I changed the scroll direction to vertical, all delegates are called, I changed the frame size of the collectionview to be larger and the delegate methods are called. I suspect that the collectionview is for somereason offset inside its content view, causing the cells to be offscreen, inturn the delegates aren't called. When making the frame larger (in horizontal or vertical mode) the collectionview "fills" the scrollview and the delegates are called</p>
  
  <p>normal size collectionview (no cells and delegate aren't called)</p>
  
  <p><img src="https://i.stack.imgur.com/uIXo5.jpg" alt="enter image description here"></p>
  
  <p>enlarged the frame by 50 px </p>
  
  <pre><code>CGRect r = CGRectInset(self.filmStripRect, 0, -50);
  </code></pre>
  
  <p>cells appear and delegates are called</p>
  
  <p><img src="https://i.stack.imgur.com/fdYpw.jpg" alt="enter image description here"></p>